1. JS
  2. AS
  3. iOS

ActionScript API: Tutorials and Sample Code

Basic Functionality

Hello World Tutorial

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.

Advanced Tutorials

Controlling audio

Shows how to enable echo suppression, how to mute the microphone and how to mute sound output from streams.

Managing cameras and microphones

Shows how to use AS3 to have the user select the camera and microphone used in an OpenTok 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.

Passing user information

Shows how to set and retrieve metadata for each client connecting to a session.

IRC Live Chat

Have a quick question? Chat with other developers.  Join chat

TokBox staff may not be online right now. To reach them during off-hours, visit the forums.