Unlocking The Full Potential of Live Video with Safari 11

Safari 11 now available for OpenTok platform

Apple has started rolling out iOS 11 and macOS 10.13, and with these releases, developers can now start to build production ready applications for Safari on the OpenTok platform, as we announced in our last post in mid-September.

With support for Safari, we’re able to further the benefits of the OpenTok platform, focused on scale, reliability and quality, empowering developers drive creativity through communications.

We’ve done the hard work so you don’t have to

Our team has been hard at work preparing for this day since our beta launch in June. Part of this work has been focused on identifying and testing devices and browsers that can interoperate successfully with Safari 11.

Apple has limited their video codec support to H.264, which has hardware support on most iOS and macOS devices. We have added H.264 support to the OpenTok platform and configured appropriate endpoints to interoperate with Safari. All of this underlying work has been done for you, so you can focus on building your apps and know that your end users won’t run into interoperability issues. Over the coming months, we plan to add additional Safari compatible endpoints to the platform, e.g. Internet Explorer and Edge.

We’re also excited to share that we support Composed Archiving with Safari, which has been widely requested across our customer base and is one of our most used OpenTok features.

Get a first look at Safari in OpenTok with our new demo app (be sure to use Safari 11). Simply create a meeting name and invite others to join you to test out OpenTok in Safari.

Get started with new Safari Projects

We’ve made a few updates to the TokBox account portal and developer center to provide guidance around how to get started with Safari for your OpenTok projects and details on what devices are supported. Here’s a quick overview on how to get started:

Step 1: Create a Safari OpenTok Project

We’ve added new Safari Projects to the account portal, allowing you to create Safari-centric projects more efficiently. If you don’t already have a TokBox account, you can sign up for a free trial and create one today. Once you get to the Account Portal, select the “Create Safari Project” button.

You can also migrate your existing projects to become Safari projects. If you’d like to migrate your existing projects to a Safari project, please email us at support@tokbox.com so we can help you get started.

Create Safari Project


Step 2: Set up your application to use Safari

If you’ve already developed a web application with OpenTok and would like to add support for Safari, be sure your code loads v2.12 or later of OpenTok.js and ensure all OpenTok session IDs and tokens being used in your application are generated from your new Safari project.

If you’re building a new OpenTok web application, you can follow the Set Up a Basic Web Client Tutorial to build a basic video chat application with OpenTok, then make the same adjustments as above.

Step 3: Test your application

Once you’ve installed the supported version (Safari 11 on MacOS and Safari on iOS 11), load your application in Safari to test it out. The web application will also be compatible with Google Chrome and Firefox.

We are delighted to make Safari available on the industry leading OpenTok platform. To learn more about OpenTok support for Safari 11, head over to our developer center for additional technical specs and guides to get started. If you have any questions, please feel free to reach out to us at support@tokbox.com.