WebRTC Playback
WebRTC playback is only available in Ant Media Server Enterprise Edition (EE).
Note: For WebRTC playing, please ensure that UDP ports 50000-60000
are open on your server's firewall.
If a client is behind a corporate firewall or has network restrictions, you can utilize the TURN server to redirect WebRTC traffic. More details can be found here.
Before playing a stream with WebRTC, make sure that the stream is broadcasting on the server.
Quick Link: Learn How to Publish with WebRTC
- Visit
https://AMS_domain_name:5443/WebRTCAppEE/player.html
. If you're running Ant Media Server on your local computer, you can also visithttp://localhost:5080/WebRTCAppEE/player.html
- Write the stream id in text box(
stream1
by default)
-
Press
Start Playing
button. After you press the button, the WebRTC stream starts playingYou can also use the URL format listed below to play the WebRTC stream using the Ant Media Server Embedded web player (play.html):
https://AMS_domain_name:5443/WebRTCAppEE/play.html?id=streamId
Check Embedded Web Player document for more information.
Congrats. You're playing with WebRTC. Please check the latency.