13 Mar Open Tok video chat demo
If you’re looking for a simple way to implement WebRTC chat, one of the popular commercial offerings out there is OpenTok, by TokBox. In this video, we show you how to create a super simple video chat using OpenTok.
OpenTOK is a platform that simplifies the Web camera integration with the browser creating an application layer over WebRTC, and it also works as an intermediary when direct peer-to-peer communication is not possible between two clients.
The first step is to create an account on TokBox.com, and once created you have the ability to get an API key and generate sessions.
TokBox sessions will have an expiration associated with them, but if you’re just checking out the tools you can set it to be long enough for you to create the project.
In the video, we use a simple Node.js application to host the code. You can see the full code we use in the video and in the following gist, just remember to set the values of the variables for your API_KEY, SESSION_ID, and TOKEN.
This quick demo was produced by Giancarlo Palavicini and Arin Sime of AgilityFeat software development.