HLS Playing - mekya/antmedia-doc GitHub Wiki
HLS Playing is available in both Community and Enterprise Editions. Before playing a stream, make sure that stream is broadcasting in the server.
Quick Link: Learn How to Publish Live Streams
- You can use play.html under the Application. Visit
https://your_domain_name:5443/WebRTCAppEE/play.html
.
If you're running Ant Media Server on your local computer, you can also visit http://localhost:5080/WebRTCAppEE/play.html
You will encounter Stream ID doesn't exist popup error.
- Write the stream ID & HLS play order parameters in URL as below.
https://your_domain_name:5443/WebRTCAppEE/play.html?name=stream1&playOrder=hls
- Press
Start Play
button. After you press the button, HLS stream starts playing
Autoplay ability disabled by Google Chrome & Mozilla Firefox in new versions. Look at below links:
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes https://hacks.mozilla.org/2019/02/firefox-66-to-block-automatically-playing-audible-video-and-audio/
Congrats. You're playing with HLS.