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="https://vjs.zencdn.net/7.10.2/video-js.css" 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="https://videojs.com/html5-video-support/" target="_blank"
>supports HTML5 video</a
>
</p>
</video>
<script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script>

Video SDK Home Dashboard