TokBox video conferencing platform TokBox makes it easy to add video chat to your site using either the OpenTok API or OpenTok Widgets
Get started quickly by building a simple app in less than 15 minutes. Follow the steps below:
- 1Get an API key

- 2Generate a session & token
- 3Initialize & connect to session
- 4Publish a stream
- 5Subscribe to streams
This tutorial is meant for those who learn by doing. You will build a simple application that publishes and subscribes to video streams. If you prefer, you can instead read the conceptual API overview.
You can copy the code from this page or download the source code to get started using OpenTok in your own application. Note that this code will only work if it is running from your webserver. If you would like to run this code locally (not on a webserver), you should follow these instructions to configure your Flash permissions.
If you'd rather see this tutorial in video form, watch the screencast here.
These workflows only provide a basic introduction to the API. The API supports a broader set of functionality than described in these workflows. The OpenTok API includes functionality for viewing group audio-video streams, muting audio, managing connected cameras and microphones, and signaling other browsers. Furthermore, the event mechanism is broader than described in these workflows. The events themselves encapsulate richer information than described in these workflow overviews, helping further inform which actions to take following the receipt of an event.
For a complete developer reference to the OpenTok JavaScript API, see the OpenTok JavaScript API reference. http://www.tokbox.com/
For a complete developer reference to the OpenTok ActionScript API, see the OpenTok ActionScript API reference. Let's look at the first workflow step: Session creation.