tencent cloud

Delayed Playback
Last updated: 2024-10-10 17:28:28
Delayed Playback
Last updated: 2024-10-10 17:28:28
Delayed playback is a feature that allows you to delay the playing of streams. It is mainly used in important live streaming events to allow organizers time to handle emergencies. You can enable this feature through parameter setting.

Notes

You can enable the delayed playback via three methods:
Directly configure via CSS console. For details, see Delayed Playback Configuration.
Add a txDelayTime parameter to the end of a push URL. For details, please see Push Configuration.
Delayed playback is a billing value-added service. To activate the delayed playback feature, use the console settings, call the delayed live streaming interface or carry the delayed playback parameter configuration with the push domain name. After successful push, the Value-added feature billing will be generated.
Note:
The API method is not recommended because calling an API involves configuration caching, which makes it difficult to estimate when the feature takes effect. You are advised to enable the feature using the second method.

Preparations

1. Activate CSS.
2. Log in to the CSS console, select Domain Management, and click Add Domain Name to add a push domain name. For more information, please see Adding Domain Name.

Push Configuration

1. Log in to the CSS console, go to Tools > Address Generator, select Push Domain for Domain Type, and click Generate Address.



2. Add txDelayTime to the end of the push address, and push streams via OBS. For detailed directions, please see Push via OBS.



Note:
Set txDelayTime to the number of seconds for which you want to delay playback. The value must be an integer and cannot exceed 600.

Delayed Playback

1. Log in to the CSS console, go to Tools > Address Generator, select Playback Domain for Domain Type, and click Generate Address.
2. Use VLC, FFmpeg, or other tools for playback. For details, please see CSS Playback.
In the figure above, the delay time set for playback via the txDelayTime parameter in the push address is 30s, and the actual playback latency is 34s, which indicates that the delayed playback feature has taken effect.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback