Skip to main content

Live Stream - Play Live Stream

To play back a live stream, use the downstreamUrl, which we have created in Create New Live Stream.

For play livestream you need to set up video player which supports HLS format.

<link href="" rel="stylesheet" />
<video  id="my-video"  class="video-js"  controls  preload="auto"  width="640"  height="264"  data-setup="{}">  <source  // You have to provide your downStreamUrl in src    src="your-downstream-url"    type="application/x-mpegURL"  />  <p class="vjs-no-js">    To view this video please enable JavaScript, and consider upgrading to a    web browser that    <a href="" target="_blank"      >supports HTML5 video</a    >  </p></video><script src=""></script>

Video SDK Home Dashboard