Skip to content

Viewing the Stream

James edited this page Dec 14, 2020 · 2 revisions

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>.m3u8 and http://<server ip>:8080/dash/<stream-key>_src.mpd respectively.
  • Click Play.

Using provided web players

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

Notes

  • These web players are hardcoded to play stream key "test" at localhost.
  • To change the stream source for these players, Modify the src attribute in the video tag in the html file and then reload the page.
Clone this wiki locally