Introducing The OpenTok Playground

tokbox-inc_markWhen evaluating a new product or service, we know how important it is to be able to test out the technology first.  Stakeholders in different areas of the business, both developers and non developers, need to see and understand how the technology works.

We’ve noticed that for customers evaluating the OpenTok platform, without using the API, it can be challenging to visualise your use case. Even when a developer works through our Quick Start Guide, there can be a need for additional implementation to build a custom proof of concept. All of this translates into time invested during the business’ evaluation phase of the product; worse yet, it can lead to an incomplete or inaccurate evaluation.

Read More

Automated Testing for OpenTok Applications in the Browser

tokbox-inc_markWeb Application Developers are used to being able to write automated tests for their applications and have them run with every PR and before deploying to production to give a level of confidence that things are not broken. OpenTok and real-time applications in general present new challenges when it comes to writing and running automated tests. There are challenges when it comes to getting access to microphones and cameras, testing multiple participants and installing the plugin for Internet Explorer among others.

There has been lots of work around WebRTC testing automation and our friends at rtc.io and &yet have written some great articles on the subject. However these articles don’t cover some of the specifics of testing OpenTok applications for example testing Internet Explorer and installing the OpenTok plugin for Internet Explorer. If you haven’t already I would recommend taking some time to read the articles by the folks at rtc.io and &yet before coming back to this. Also if you’re not familiar with Travis and Selenium WebDriver you might want to check those out too.

Read More

Coming Soon: The New & Improved TokBox Account Interface

tokbox-inc_markSince we launched the new version of our platform back in 2012, one of our goals has always been to make it very easy to manage and understand how your applications are performing. In addition to simplifying how to build applications, we believe that those are the key elements for a great experience.

Over the last year we have been working on a completely new way to interact with your TokBox account. As our user-base grew and diversified, it was obvious that our previous dashboard was not enough and needed to be extended. With the number of new tools and services that are in the works, we realized that it was a good opportunity to future proof our stack and give you, our users, a much better experience.

Read More

Introducing the One-to-One Sample App

tokbox-inc_markWe’re excited to announce the release of the OpenTok One-to-One Sample Application across web, iOS and Android.  This open-source application enables you to speed up your development efforts to set up interoperable, production-quality audio/video communication between users.

As you get started with this OpenTok sample, you will learn the best practices used to develop and manage the audio, video, and camera elements on mobile devices or in the browser. We recommend this is as your first step in delivering Real Time Communications (WebRTC) solutions on the OpenTok platform.

Read More

Lip-sync Issues: When a Chrome Update Fixes your Application

This post was co-authored by Gustavo Garcia Bernardo, Philipp Hancke and Charley Robinson.

chrome logo

When WebRTC stuff is really broken, it gets fixed very quickly.

Early in December 2015, shortly after the release of Chrome 47 to the general public, we started to notice a subtle and strange behavior in the Audio/Video of streams during our many daily meetings using WebRTC: the video occasionally wouldn’t stay caught up with the corresponding audio. As with many bugs noticed internally by developers, it took a while for any of us to believe that what we were seeing was a real issue. We call this the inverse of productive dogfooding: rather than assume we are just like our users, we can just as easily decide we are nothing like them.

Read More

How to get a WebRTC Diagnostic Recording from Chrome 49+

WebRTC logoHave you ever had to support a WebRTC application and needed to get packet dumps from the user? Wireshark is a great tool for this, but asking a user to install it and make a dump rarely works. It’s just too complicated. So I was pretty excited when I read the Chrome 49 release notes which described (not in much detail) a new feature called the ‘RTC event log’. This is described as follows:

We now provide a new debug option in chrome://webrtc-internals for tracing internal details (e.g., BWE, jitter buffer state) for audio and video sessions. This option creates a log containing the timing and headers of packets as well as the timing of various internal events. We hope this will help resolve issues related to media transport and jitter buffers; attaching this log when reporting such issues will help us tremendously.

Read More

TokBox at the Largest Hackathon in History

kodinghackathonThe Event

Set to be the largest hackathon in history , TokBox is proud to be sponsoring the Koding & Hacksummit hackathon, February 20-21.  More than 25,000 teams will participate in the hackathon for a chance to win some amazing prizes.

The Challenges

Participants can use any publicly available API to create something that fits into the theme of data visualization, productivity or gaming.

Read More

The optk Developer Command Line Utility

tokbox-inc_markWhen I’m working on developing an OpenTok application, I want to move fast. As a software engineer, I have loads of little workflow shortcuts, scripts, tricks, and favorite tools. When I started to build optk, I wanted to shave off just a couple seconds off of something that I had to do dozens of times a day.

I usually start my OpenTok project building the client, whether that be using the OpenTok JavaScript SDK, iOS SDK, or Android SDK. A button here, a label there, fill out the menu, and then add some WebRTC-powered streaming goodness. At that point I’m not worried about how Sessions and Tokens are going to be generated, that’s a concern for my server, and I’ll solve that after I have some basic tangible UX.

Read More

TechTok: Application Security’s Last Mile – The Future is Reactive

techtoks2015 is notable in the number of sites that have been compromised by hackers, and the outlook continues to look grim. Companies have been rushing headlong into putting services online, prioritizing functionality above all. Up-time and scale, which has plagued early the early internet, while still a challenge, has improved significantly; however, security failures continue to get worse. This calls for a new approach. Application Security has been focused on vulnerability prevention, and static controls. In a world of continuous delivery, security needs to be continuous. In a world where hackers act faster than companies can patch, security needs to be adaptive, and responsive. What’s missing is defending the Application in production. This is Application Security’s Last Mile, and will be the focus of this talk.

Read More

Introducing the Interactive Broadcast Solution

TokBox's Interactive Broadcast SolutionOver the last 5 years, we’ve helped hundreds of companies create rich and engaging applications with OpenTok powered live video and voice. Now, we’re bringing broadcasters and brands (who are now broadcasters too) unprecedented audience engagement with the launch of our new Interactive Broadcast Solution.

Until now live broadcasting applications have focused on one-way streaming. This works well for conferences or events. But now, Interactive Broadcast is the first solution to enable multi-­party panels, video-based audience participation, and an on-brand experience for website and application owners. The Interactive Broadcast Solution gives broadcasters the tools they need to bring user-generated content and viewer-participation content to both online and TV audiences.

Read More