tencent cloud

Feedback

Delayed Playback

Last updated: 2024-08-27 10:34:59
    Delayed playback is a feature that processes streams in the cloud, enabling the playback end to operate with a set delay. This delay is distinct from the inherent delay of the protocol itself. Delayed playback is applicable to significant live steaming events. To prevent unforeseen circumstances during the events, if you need to prepare control and response measures in advance, you can configure this feature directly through the console. For instance, during the live streaming of a large-scale evening party, if you set a delay of 5 minutes in advance, the online audience will see the picture 5 minutes later than the actual event. In case of an unexpected incident, the director will have a 5-minute pre-processing time period to switch machine positions or backup streams through the director's console, thereby mitigating live streaming risks.

    Notes

    You can enable delayed playback via three methods:
    Configure it in the Cloud Streaming Services (CSS) console.
    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:
    Currently, 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 quickly enable the feature using the first or third method.
    After enabling delayed playback, you need to add a delayed playback configuration in the console or using an API before the feature can take effect. After it takes effect, extended feature fees will be incurred for streams published.
    Delayed playback will take effect after waiting for 5 minutes once the configuration is completed.

    Prerequisites

    You have activated the Cloud Streaming Services (CSS) and logged in to the CSS console.
    You have added a push domain.

    Configuring Delayed Playback

    1. Go to Domain Management and click the push domain to be configured or click Manage on the right to enter the domain details page.
    
    2. Select the Advanced Configuration tab. In the Delayed playback configuration area, click
    
    to enable the delayed playback configuration.
    
    2.1 Confirm whether to enable the current delayed playback configuration. Click Enable to enable it.
    
    2.2 After the delayed playback is enabled, click Add .
    
    3. Complete the following settings based on your needs:
    
    
    Configuration Item
    Description
    Scope
    Select All or Custom:
    All: Apply the configuration to the current domain.
    Custom: Apply the configuration to a specific application or stream, which will override the configurations applied to All.
    AppName
    When there are configurations for the same AppName and StreamName, the most recently created configuration takes effect.
    StreamName
    When there are configurations for the same AppName and StreamName, the most recently created configuration takes effect.
    Delay
    A positive integer no greater than 600.
    Expiration Time
    The maximum selectable time is no more than 7 days from the current time.
    3.1 Click Confirm to save the configuration.
    3.2 Based on your actual business needs, click New on the right side to continue adding Delayed playback configuration.
    
    Note:
    You can add up to 50 delayed playback configurations.

    Modifying Delayed Playback Configuration

    1. Select Domain Management, and click the push domain to be configured or click Manage on the right to enter the domain details page.
    
    2. Select the Advanced Configuration tab. In the Delayed playback configuration area. Click Edit on the right side to enter the delayed playback configuration page.
    3. Update the configurations based on your needs, and click Confirm to save the modifications.
    

    Deleting Delayed Playback Configuration

    1. Select Domain Management, click the push domain to be configured, or click Manage on the right to enter the domain details page.
    
    2. Select the Advanced Configuration tab. In the Delayed playback configuration area, select the configuration to be deleted and click Delete on the right side.
    
    3. Confirm whether to delete this Delayed playback configuration, and click Are you sure you want to delete to successfully delete it.
    
    Note:
    After deletion, ongoing streams will be delivered in real time again only after you stop them and publish them again.

    Disabling Delayed Playback

    If you want to disable delayed playback configuration after enabling it, follow these steps:
    1. Select Domain Management, click the push domain to be configured, or click Manage on the right side to enter the domain details page.
    
    2. Select Advanced Configuration tab. In the Delayed playback configuration area, click
    
    to toggle off the configuration.
    
    3. Confirm whether to disable this delayed playback configuration, and click Disable.
    
    Note:
    After delayed playback is disabled, the delayed playback configurations added via the console or using APIs will no longer take effect. For ongoing streams, the change will be applied only if you stop the streams and publish them again.
    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