Migrating Video API from OpenTok to Unified Migrating Video API from OpenTok to Unified

Migrating Video API from OpenTok to Unified

Yukari Dumburs

Objective

The Vonage API Dashboard (called "Unified") is the central hub for managing your Vonage applications, API keys, and usage. Migrating from the OpenTok Dashboard to the Unified Dashboard provides a unified experience with improved authentication and easier access to other Vonage services. For more details, please refer to this blog

This guide describes the steps required to migrate from the OpenTok environment to the Unified environment, updating authentication, Server SDKs, and Client SDKs across supported platforms. 

Note: This step is intended for self-service use. If you are a managed customer, please contact your account manager for assistance.

Applies To

  • Video API
  • Migrate from OpenTok to Unified
  • Server SDKs
  • REST API
  • Client SDKs

Procedure

Before You Start

1. Recognizing Your Environment

The environment you are using can be identified from the URL:

You can also distinguish them by the UI appearance. For more details, see How to recognize if I’m using Vonage Video API Unified Environment or Vonage Video API OpenTok environment? 

2. Understand the authentication difference

In OpenTok, authentication is based on a Project API Key and Project Secret

In the Unified environment, these are replaced by Application ID and Private Key. 

For more details, see Credential Differences Between OpenTok and Unified Environments 

Migration Steps

1. Sign up for a Unified account and set up billing

If you do not already have a Unified account, sign up and configure your billing details.

2. Create a test Application in your Unified account

Create a test Application by following the steps outlined in the JavaScript Basic Video Chat tutorial. You do not need to complete the full tutorial – only refer to it for the application creation step.

3. Update your Server SDK

See How to Migrate from OpenTok Server SDK to Unified Server SDK 

4. Update your REST API (if applicable)

If you are using the REST API, update it accordingly. See Migrating Video REST API from OpenTok to Unified 

5. Update your Client SDK

See Video Client SDK Changes from OpenTok to Unified 

 

Additional Information