tencent cloud

Feedback

Delayed Playback

Last updated: 2023-10-08 15:14:13
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 delayed playback via two methods:
Add a txDelayTime parameter to the end of a push URL. For details, please see Push Configuration.
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.


Caution
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.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support