Home / Companies / Vonage / Blog / Post Details
Content Deep Dive

Publishing Custom Video Streams with the OpenTok API

Blog post from Vonage

Post Details
Company
Date Published
Author
Manik Sachdeva
Word Count
787
Language
English
Hacker News Points
-
Summary

The provided text describes how to create a video chat app using the OpenTok API, adding a custom video source with moving snowflakes in real-time, and publishing it to a session. The app requires a TokBox account and an API Key and Secret for authentication. It uses the Canvas API to capture the camera stream and apply a filter to create the snowy effect. The video is then published to the session using OpenTok's publisher object, allowing users to share their live video feed with others in real-time. The code includes event listeners for stream creation and connection establishment, ensuring seamless communication between participants.