跳到主要内容

Live-to-VOD

Live-to-VOD features allow you to provide video replays to your viewers after a live event has ended.

To enable live-to-VOD for your livestreams, configure the associate API request body during creation or update it later.

Configure the live_vod object in the request body with the following options:

  • source of the VOD:
Query ParametersDescription
LIVE_VOD_SOURCE_CATCHUPUtilize the catchup of the live event as the source of VOD. Note that the recording cannot exceed 8 hours.
LIVE_VOD_SOURCE_REPLACEEnable the replacement of the catchup video with an edited VOD for playback.
LIVE_VOD_SOURCE_PLAYBACKUtilize a VOD for the playback.
  • Publishing schedule:
Query ParametersDescription
started_atSpecify the time when the content will become available in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ
ended_atSpecify the time when the content will no longer be available in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ

Here's an example of the request body:

{
"live_vod":{
"source":"LIVE_VOD_SOURCE_PLAYBACK",
"playback":{
"id":"your_vod_id_for_playback"
},
"started_at":"2023-04-11T12:00:00Z",
"ended_at":"2023-04-11T13:00:00Z"
}
}