Viewing the Stream - JamiePhonic/rtmps-hls-server GitHub Wiki
Using VLC
- Go to Media > Open Network Stream.
- Enter the streaming URL:
rtmp://<server ip>:1935/live/<stream-key>Replace<server ip>with the IP of where the server is running, and ` with the stream key you used when setting up the stream. - For HLS and DASH, the URLs are of the forms:
http://<server ip>:8080/hls/<stream-key>.m3u8andhttp://<server ip>:8080/dash/<stream-key>_src.mpdrespectively. - Click Play.
The provided demo players assume the stream-key is called test and the player is opened from localhost.
- To play RTMP content (requires Flash):
http://localhost:8080/players/rtmp.html - To play HLS content:
http://localhost:8080/players/hls_basic.html - To play HLS content using hls.js library:
http://localhost:8080/players/hls.html - To play DASH content:
http://localhost:8080/players/dash.html
- These web players are hardcoded to play stream key "test" at localhost.
- To change the stream source for these players, Modify the
srcattribute in the video tag in the html file and then reload the page.