How to use Android Picture-in-Picture mode with OpenTok

Android Picture in Picture with opentok webrtc video call

Picture this: you are outside in a park and attending a meeting using your Android phone with a cool OpenTok-based application, but suddenly you need to check some information from a different app on your phone. Currently, your only option would be to put the original app in the background, and stop seeing the rest of the people in the meeting while you check that information.

Read More

Build a live video app with ARKit and OpenTok

Build Live video spp with ARKit

If you have an iPhone, chances are that you have already upgraded to the latest version of iOS. In its 11th version, Apple has introduced many new things. As usual, some of them are related to the new hardware, others improve and polish the well-known iOS formula. But there is one thing that is completely new and will bring a new type of applications that never existed before at this scale. We are talking about Augmented Reality (or AR) applications, and the Apple SDK ARKit.

Read More

Build WebRTC desktop apps with OpenTok and Electron

Electron and OpenTok WebRTC

TokBox is pleased to announce that with the release of OpenTok.js v2.12, OpenTok now officially supports Electron, allowing developers to build hybrid desktop applications which combine native APIs and web development to create native-like applications.

Read More

Launch One-on-One Live Video in Minutes with Video Chat Embeds

Live video chat embeds

Customers spanning across industries, from healthcare, to education, to professional services and even finance, are adapting to live-video as a way to stay engaged with their clients and exceed customer expectations. In fact, worldwide, we know the number of telehealth patients will increase by 10x by 2018. And, we know that 87% of students prefer to collaborate online than in person. There’s no doubt that live video is now an integral part of client engagement and brand loyalty, and will only continue to become more prevalent in the future.

Read More

Creating a true voice call experience with OpenTok and CallKit

opentok callkit voice call experience

In previous posts, we have looked at some key considerations for building apps for social video calling on mobile devices, and some of the features you can include to make sure your users have a great experience.

Here, we’re going to look in depth at CallKit, a framework for iOS which is an important component for creating frictionless, delightful apps, especially voice and video calling apps.

Read More

Hacking Social Video: Building a Group Live Video App: Part 2

multiparty video call mobile app for social

Part 2 – Creating the best possible user experience for social video apps

In Part 1, we looked at some of the key considerations for building a group live video app for mobile along the lines of Houseparty and Facebook Bonfire, and how the OpenTok platform can provide the solutions to some of the hurdles caused by using WebRTC off-the-shelf. In Part 2, we’ll look at some specific features and code which can be used to create an awesome user experience so your users will fall in love with the app.

Read More

Building a Snapchat-like app with WebRTC in the browser

Building a Snapchat-like app with WebRTC in the browser

In light of the recent Snapchat IPO I thought it would be interesting to see whether it is possible to build a Snapchat-like app using WebRTC in a browser. The good news is that thanks to some new features in modern browsers (Firefox and Chrome) the answer to that question is yes!

To see a demo of my app running go to http://aullman.github.io/snapchat-killer . You can see the source code at https://github.com/aullman/snapchat-killer

Note: this app only really works properly on Chrome and Firefox for the Desktop.

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

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

Demo App: Building with the Pre-Call API

// < ![CDATA[ _
// ]]>GUEST POST: WebRTC.ventures is a custom design & development agency focused on building WebRTC applications. They are part of AgilityFeat, which is one of our development partners at TokBox. Jean Lescure from their team wanted to share their experiences using our new API for detecting call quality.

DemoBack in August TokBox announced their new Pre-Call API, for testing out bandwidth conditions, and posted a repository on github with a proof of concept. At WebRTC.ventures we saw a great opportunity to build upon that project and got working on creating a demo app out of it, including a server implementation in NodeJS which is compatible with Heroku.

Read More