Use the Instant TV feature

Dynamically create a manifest that points to segments of a live stream.

The Instant TV feature lets stream viewers request a clip with a specific start time during a live event. If they join after that point in the stream, they can rewind to the selected start time and watch from there. You can use this feature without changing the manifest published on the encoder or restarting the encoder.

  • startTime: Time in epoch format that the event begins or where you want to start the program from.
  • endTime: You can define a specific time in epoch format, but this is optional. If the endTime is not defined, MSL5 will generate a live event manifest for the stream.

You need to provide a startTime within 12 hours of the current time. Otherwise, the start of the event is trimmed to 12 hours and the streaming edge servers will continue to serve the content but only for the last 12 hours.

URL syntax

If the event has not ended or the endTime isn't defined, use the StartOver URL syntax:

https://[CDN_HOSTNAME]/hls/live/[stream_id]/[event_name]/master-archive.m3u8?startTime=$startTime

If the event has not ended or the endTime isn't defined, use the CatchUp URL syntax:

https://[CDN_HOSTNAME]/hls/live/[stream_id]/[event_name]/master-archive.m3u8?startTime=$startTime&endTime=$endTime