WebRTC is a great technology for real-time communication of audio, video and data. However, it can be challenging to set up and use on all the platforms. MacOS support, for example, can be challenging due to the differences between devices and versions. Enter Vonage’s new OpenTok macOS SDK, which allows you to build native OpenTok real-time video applications for Apple computers.

In collaboration with the Vonage native client team, I’ve written a set of macOS demo applications showing how to integrate the OpenTok macOS SDK.

The OpenTok macOS SDK

The Vonage native client team has released a beta version of the OpenTok macOS SDK to the public. This new macOS SDK is supported on macOS 10.12 or higher, on both Intel (x86_64) and Apple Silicon (arm64) Macs.

There is a new Github repository to provide some examples for you to better understand the features of the OpenTok MacOS SDK. You will find the following sample apps:

  • Basic Video Chat – This sample application shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream. It implements a simple video call application with several clients. If you’re just getting started with OpenTok, this is where you should start.
  • Basic Video Chat Metal – This sample application shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream. It implements a simple video call application with two clients. If you’re just getting started with OpenTok, this is where you should start. Notice the video renderer class is written with Metal framework.
  • Simple Multiparty
  • Custom Audio Driver – This project demonstrates how to use an external audio source with the OpenTok SDK.
  • Screen Sharing – This project demonstrates how to use a custom video capturer to publish a stream that uses ScreenCaptureKit (instead of a camera) to capture the display of the machine as the video source.
The OpenTok macOS SDK
The OpenTok macOS SDK

Leverage the power of WebRTC on macOS

These demo applications serve as a great starting point for developers who want to build cutting-edge real-time communication applications on macOS using WebRTC technology. With the help of these demo applications, developers can learn how to integrate the OpenTok macOS SDK into their applications.

Are you looking to leverage the power the Vonage Communication APIs in your web or mobile application? WebRTC.ventures is a proud member of the Vonage Marketplace as an Integration Provider with deep expertise in numerous APIs such as the Video API, Voice API, Verify API, and the Messages API. Contact us today!

Recent Blog Posts