ActionScript API: Tutorials and Sample Code

Basic Functionality

Hello World

Shows you how to connect to a session, publish a stream from your webcam, and view other audio-video streams in the session … all in just a few lines of code.

Basic Tutorial

Expands on the Hello World tutorial.

Debugging OpenTok applications

Shows you techniques for debugging an application that uses the OpenTok ActionScript library.

Advanced Tutorials

Pre-publish set-up

Shows how to select and test cameras and microphones prior to publishing a stream to a session.

Moderation and signaling

Shows how to moderate participants in an OpenTok session, and how to have a participant send a signal to all other participants.

Resizing videos

Shows how you can control the size of the OpenTok video display, just as you would any other ActionScript display object.

Audio-only and video only

Shows how to publish streams and subscribe to streams in audio-only and video-only mode.

IRC Live Chat

Have a quick question? Chat with TokBox Support on IRC. Join chat