Voximplant offers a video streaming API that allows many viewers to watch a video call. This stream can be shared to popular streaming platforms such as Twitch, YouTube, Restream, or any other Content Delivery Network (CDN) live streaming provider that supports the RTMP protocol.
A video call initiated from within a Web/Mobile application or SIP device goes to the Voximplant cloud, which forwards the data stream to a specified live streaming CDN provider. The CDN then forwards the audio and video streams to its end users.
Voximplant only supports live streaming using RTMP and H.264 today - please ensure your CDN provider supports this protocol and codec.
Live streaming functionality is implemented via VoxEngine’s StreamingAgent module. Typically you will need to obtain a live streaming URL and stream name from your CDN provider. These are then passed as arguments to the createStreamingAgent method.
For example, the following code loads the module and configure streaming with Twitch:
Video Conferencing vs. Live Streaming
Voximplant’s video conferencing capabilities are appropriate for conferences up to 49 participants where each participant is actively participating. The Streaming API is more appropriate for applications with many passive viewers who are not sending their video and audio streams. Note, the use of CDN networks adds a delay of several seconds or more between the broadcaster and the viewer. Video conferencing should be used in applications that require viewing latencies of less than a second.