Playing Livestreams

This tutorial assumes you have read Getting Started

Live Playback Capability

You must define the device's live playback capability. This describes the capabilities of the device's seekable range.

window.bigscreenPlayer.liveSupport: 'playable' // default

LiveSupport can be one of:

  • none -- Live playback will fail
  • playable -- Can only play from the live point
  • restartable -- Can start playback from any (available) point in the stream. Can't pause or seek.
  • seekable -- Can start playback from any (available) point in the stream. Can pause and seek.

Note! The cehtml player has only been tested with liveSupport: playable. Features such as seeking likely won't work as expected.

Requirements for DASH

The MPD must define an availability start time.

DASH Timing Element

A <UTCTiming> element must be in the DASH manifest in order to play live content (simul/webcast). The <UTCTiming> element's value attribute must be an URL to a timing server that returns a valid ISO date.

<?xml version="1.0" encoding="UTF-8"?>
<MPD>
  <UTCTiming value="https://time.some-cdn.com/?iso" />
  <Period>
    ...
  </Period>
</MPD>