Vonage Video API Version 2.18: What’s New and How You Can Use It

Published September 03, 2020 by Manik Sachdeva
Categories:

The Vonage Video API team recently released a new version of the Vonage Video Client SDK – v2.18 (formerly TokBox OpenTok). This post is an overview of the new features and how you can use them. I will cover the launch of our latest Linux SDK, IP Proxy feature, updates to WebRTC stats, improvements to security, and more!

Linux SDK

I am happy to share that we have added full support for Vonage Video Linux SDK for X86_64 on Debian 10. This new SDK has a C API with the same primitives as our other Video Client SDKs.

The Linux SDK unlocks many new use cases ranging from native desktop applications to IP camera-based streaming. Although we’re not adding support for other reference architectures and flavors of Linux at this time, we’ll be providing the unsupported SDK builds on the Vonage Video Developer Center.

You can find the samples on our GitHub and the full API documentation on the developer center.

IP Proxy

To support use cases where end users are only able to add specific IPs and domains to their allowlist, we’re releasing the IP Proxy API which will allow applications to route all of the Vonage Video HTTPS & WS traffic through their reverse proxy server.

To add it to your application, check out the sample code below:

JavaScript

Swift

Java

C#

C

In the example above, we’re hard coding the proxyUrl, however, in production use cases, we recommend fetching the proxyUrl from your application server just as you fetch the credentials to connect the session. This approach will allow you to change the proxyUrl at runtime as needed.

You can find the detailed documentation and guides in the Vonage Video Developer Center. Please note that this feature is available as an add-on.

getRtcStatsReport

As we continue to see more and more use cases with our Video API and WebRTC, we want to equip our developers with full WebRTC statistics to allow independent media connection quality analysis.

I am happy to share that with the Vonage Video JS SDK 2.18.0 you can now collect the raw, untransformed WebRTC statistics as the browser transmits them. These statistics will allow you to discover metrics such as how long it takes to encode a frame so you can use it to assess the impact on the CPU.

Android SDK Camera Capturing & Releasing APIs

In the previous release v2.17.0, we added several improvements to our Android SDK to make it more stable than the previous versions. With those improvements, we received some requests from our developers to add new APIs that allow them to directly release the camera and recapture it.

To add more control to the SDK, we’ve added an API to do just that via onStop and onRestart methods.

Scalable Video HD Layer for Windows SDK

Scalable Video was first released back with the Vonage Video Windows SDK 2.14, which improves video quality in multi-party sessions.

Today, we’re releasing improvements to our Windows SDK to intelligently stream HD resolution when using Scalable Video (where available).

Security For Our SDKs

We address the WebRTC vulnerability in the SCTP with security patches for iOS, Android, and Windows SDKs.

We’re improving this further by adding other additional layers of protection with 2.18.0. In addition to the client releases, we also upgraded our servers to block any data channels before the WebRTC vulnerability was made public.

Getting Started With the New Features

The 2.18.0 release is already available to Vonage Video API customers running on the standard environment, and we plan on releasing it to the Enterprise Environment in early October.

To learn more and access developer tutorials, please visit Vonage Video Developer Center.

Get the latest posts from Nexmo’s next-generation communications blog delivered to your inbox.

By signing up to our communications blog, you accept our privacy policy , which sets out how we use your data and the rights you have in respect of your data. You can opt out of receiving our updates by clicking the unsubscribe link in the email or by emailing us at [email protected].