![]() In the group, there is a video and two audio streams. In the image below you can find the list of streams grouped with the main group id. Then on the client-side, you will be able to enable or disable audio tracks and play the audio with the language that you want to listen to. In this case, you will have one video stream and multiple audio streams for each supported language. From now on, we can play all participant streams with a single WebRTC peer connection.Īnother use case is multiple language support for a single video. ![]() In that, we send play requests to the server for all participants separately and we used to have N-1 WebRTC peer connections. ![]() Use Cases of Multitrack PlaybackĪnt Media Server provides a perfect SFU conference feature. This will also enable and disable video/audio data transfer from the server. Also dynamically added new streams to the group will be played automatically.Īt the runtime, you can enable or disable the playback for a specific broadcast from the group. Because you don’t need to send play requests and check the status for the streams separately, you can send only one request for the group. Since you can play multiple streams through a single connection, fewer ports are opened on the server and client and so resource usage will decrease. The main advantage of the multitrack stream is in terms of resource usage. In this documentation, we will tell how you can use the multi-track playing feature in Ant Media Server and also its advantages and possible use cases. So that means this decreases resource usage. Then you can start to play those groups of streams with one play request and most importantly through a single WebRTC connection. With the help of the multitrack streams, you can play different groups of streams with a single broadcast id. These broadcasts may be even WebRTC or RTMP streams. Ant Media Server is supporting to play multiple broadcasts as tracks of a WebRTC stream. To use this feature, the SDP semantic should be set as Unified Plan. ![]() WebRTC multitrack lets us stream multiple video/audio tracks through a single connection. ![]()
0 Comments
Leave a Reply. |