Get list of non expired instant clips for a stream.
You can now use both MP4 just-in-time packager and HLS for all clips. Get URLs from “hls_master” and “mp4_master”.
How to download renditions of clips:
URLs contain “master” alias by default, which means maximum available quality from ABR set (based on height metadata). There is also possibility to access individual bitrates from ABR ladder. That works for both HLS and MP4. You can replace manually “master” to a value from renditions list in order to get exact bitrate/quality from the set. Example:
https://CID.domain.com/rec/111_1000/rec_d7bsli54p8n4_qsid42_master.m3u8https://CID.domain.com/rec/111_1000/rec_d7bsli54p8n4_qsid42_media_1_360.m3u8https://CID.domain.com/rec/111_1000/rec_d7bsli54p8n4_qsid42_master.mp4https://CID.domain.com/rec/111_1000/rec_d7bsli54p8n4_qsid42_media_1_360.mp4API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Stream ID
Successful
ID of the clip
Requested segment duration in seconds to be cut.
Please, note that cutting is based on the idea of instantly creating a clip, instead of precise timing. So final segment may be:
Duration of cutted segment cannot be greater than DVR duration for this stream. Therefore, to change the maximum, use "dvr_duration" parameter of this stream.
Creation date and time. Format is date time in ISO 8601
Indicates if video needs to be stored as VOD
ID of the created video if vod_required=true
List of available rendition heights
Link to HLS .m3u8 with immediate clip. The link retains same adaptive bitrate as in the stream for end viewers. For additional restrictions, see the description of parameter "mp4_master".
Link to MP4 with immediate clip. The link points to max rendition quality. Request of the URL can return:
Starting point of the segment to cut.
Unix timestamp in seconds, absolute value.
Example: 24.05.2024 14:00:00 (GMT) is Unix timestamp = 1716559200
If a value from the past is specified, it is used as the starting point for the segment to cut. If the value is omitted, then clip will start from now.
Expire time of the clip via a public link.
Unix timestamp in seconds, absolute value.
This is the time how long the instant clip will be stored in the server memory and can be accessed via public HLS/MP4 links. Download and/or use the instant clip before this time expires.
After the time has expired, the clip is deleted from memory and is no longer available via the link. You need to create a new segment, or use vod_required: true attribute.
If value is omitted, then expiration is counted as +3600 seconds (1 hour) to the end of the clip (i.e. unix timestamp = <start> + <duration> + 3600).
Allowed range: 1m <= expiration <= 4h.
Example: 24.05.2024 14:00:00 (GMT) + 60 seconds of duration + 3600 seconds of expiration = 24.05.2024 15:01:00 (GMT) is Unix timestamp = 1716562860