Skip to content

HLS Playing

Ahmet Oğuz Mermerkaya edited this page Jan 17, 2020 · 12 revisions

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

  1. 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.

  1. Write the stream ID & HLS play order parameters in URL as below.

https://your_domain_name:5443/WebRTCAppEE/play.html?name=stream1&playOrder=hls

Go to the play.html

  1. The HLS stream will start to play automatically when it becomes live.

Press Start Playing Button

Autoplay may not be activated for some policies by Chrome & Firefox. So you may need to click the player to get it started button. 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.

User Guide

Reference

Troubleshooting

Draft

Proposals

Clone this wiki locally