OpenTok macOS SDK

The OpenTok macOS SDK lets you use Vonage Video API-powered video sessions in macOS apps.

Deprecation notice: The macOS SDK is deprecated. The 2.31.x series is the SDK's final release series. See the macOS SDK overview for the support timeline and alternatives.

Version 2.25.2+ of the SDK adds support for Swift Package Manager.

Apps written with the OpenTok macOS SDK 2.31.1 can interoperate with OpenTok apps written with version 2.29+ of the OpenTok client SDKs:

  • OpenTok.js
  • OpenTok Android SDK
  • OpenTok iOS SDK
  • OpenTok Windows SDK
  • OpenTok Linux SDK
  • OpenTok React Native SDK

The OpenTok macOS SDK is a C library.

System requirements

The OpenTok macOS SDK is supported on macOS 13 or higher; on both Intel (x86_64) and Apple silicon (arm64) Macs.

Using the SDK

The OpenTok.framework directory contains the OpenTok macOS SDK.

The OpenTok macOS SDK is available as the Pod "VonageClientSDKVideoMacOS", for use with CocoaPods. It is also available as a Swift Package Manager package: https://github.com/Vonage/client-sdk-video-macos.

The OpenTok macOS SDK requires Xcode 11 or higher.

The OpenTok macOS SDK requires the following frameworks and libraries:

  • AudioToolbox.framework
  • AVFoundation.framework
  • CoreAudio.framework
  • CoreGraphics.framework
  • CoreMedia.framework
  • GLKit.framework
  • MetalKit.framework
  • Network.framework
  • VideoToolbox.framework
  • libc++.dylib

See the release notes for information on the latest version of the SDK and for a list of known issues.

Sample Applications

For sample code, go to the opentok-macos-sdk-samples repo at GitHub.