OpenTok Version 2.16: What’s New and How You Can Use It
Published on April 27, 2021

Just in time to unlock the new features of Safari version 12.1, we released OpenTok v2.16, the latest version of our OpenTok Client SDKs. We wanted to update you on some of the great new features included and how you can use them.

Safari VP8 Video Codec Support

A key new feature of Safari v12.1 includes VP8 support on iOS and macOS!

In the last few updates, we have addressed some interoperability challenges. In OpenTok v2.12, we added Safari and H.264 codec support. However, in some cases VP8 and H.264 may not have been supported.

We then released version 2.15 and the getSupportedCodecs API to handle multiple video codecs in web and Android SDKs. With OpenTok.js v2.16 you no longer need to turn on the H.264 codec in your project, forcing everyone to use H.264 for video to work on Safari.

This is a huge step forward because the latest Safari and OpenTok updates allows for full interoperability between all browsers, including old Android devices that do not support H.264 encoding.

Make sure you have the latest iOS 12.2 and macOS 10.14.4, along with v2.16 of OpenTok.js to give it a try.

nullnull

Safari Screen Sharing Support

nullnull

Safari 12.1 also adds experimental support for screen sharing. Here’s how:

Enable ScreenCapture in the Develop -> Experimental Features menu.

If you don’t have the Develop menu you will need to turn it on in the Advanced section of your Safari Preferences Panel.

Once you’ve enabled the feature, you can use the OpenTok screen sharing API in the same way you do with other browsers.

nullnull

Safari Scalable Video Support

The latest Safari also supports simulcast, or scalable video. The release of OpenTok.js v2.16 also unlocks this feature for Safari, which was previously only available in Chrome on the web platform.

What is Simulcast (Scalable Video)?

Simulcast delivers multiple layers of video with a diversity of encoded qualities directly from the publisher, which helps address the trade-off between video quality and subscriber capacity. Our smart media routing servers are able to adapt to what's best for each subscriber and their respective network or processing capacity. As a result, the remaining subscriber pool can remain independent and unaffected by the rest of subscriber conditions.

In non-scalable video streams, congestion control feedback affects the experience of all subscribers in the session, as the publisher generates a common quality for all subscribers, and it needs to fit the worst subscriber capabilities case.

In a broadcast topology, normal congestion control presents a “race to the bottom.” This means, for example, that a higher subscriber population can increase the risk of poor video quality for all participants, either due to network or device capability issues. For more details about scalable video and simulcast have a look at this support article.

You can find more details about other new WebRTC features in the Safari 12.1 release here.

Unity Samples - Beta

We’re also excited to share that with the 2.16 release, we’ve released samples on how to use OpenTok on iOS, Android, Windows, and MacOS with Unity3d in beta. We’d love for you to take them out for a spin.

For a full list of the features and fixes in our OpenTok Client SDKs have a look at the release notes.

Manik SachdevaVonage Alumni

Manik is a Senior Software Engineer. He enjoys working with developers and crafting APIs. When he's not building APIs or SDKs, you can find him speaking at conferences and meetups.

Ready to start building?

Experience seamless connectivity, real-time messaging, and crystal-clear voice and video calls-all at your fingertips.