tencent cloud


Live Playback

Last updated: 2023-10-07 16:23:34


    1. Activate the CSS service,and complete the Identity Verification Guide.
    2. Log in to the CSS console to get a URL for live push. For detailed directions, please see Live Push.
    3. Select Domain Management, click Add Domain, enter your domain name, select Playback Domain as the type, and click Save.
    If you do not have a playback domain, you can go to Domain Registration to purchase a domain. You can also purchase a domain through other domain service providers.
    4. Log in to the Tencent Cloud Domain Service Console and configure CNAME for the successfully added playback domain name. For detailed directions, please see Domain Name CNAME Configuration.

    Getting Playback URL

    Select CSS Toolkit > Address Generator to get a playback URL and configure as follows:
    Select Playback Domain as the type of the URL.
    Select a playback domain name you added in Domain Management.
    Enter the same StreamName as that of the push URL. The StreamName of the playback URL must be the same as that of the push URL to play back the corresponding stream.
    You need to choose an encryption type based on your security requirements and performance considerations. The encryption type can be either MD5 or SHA256, with MD5 being the default option.
    Select the expiration time of the URL, such as 2023-09-13 15:24:50.
    Click Generate Address.
    In addition to the above method, you can also select a playback domain name in Domain Management in the CSS console, click Manage, select Playback Configuration, enter the expiration time of the playback URL and the StreamName same as that in the push URL, and click Generate Playback Address.

    Live Playback

    A live push must be successful before the stream can be watched via the playback URL. You can use the following methods to test live streaming based on your business scenario:

    Scenario 1. Playback on PC client

    You can use tools such as VLC, FFmepg, and TCPlayerDemo for playback.

    Scenario 2. Playback on mobile client

    1. Download the install Tencent Cloud Toolkit.
    2. Select MLVB > LVB Playback or LEB Playback.
    3. Enter the playback URL in the input box or scan the QR code of the playback URL.
    4. Tap the play button in the bottom-left corner to start playback.
    If you need to push/play streams in an App, you can integrate Mobile Live Video Broadcasting (MLVB) SDK with CSS. MLVB SDK supports RTMP, HTTP-FLV, HLS, and WebRTC playback protocols.

    Scenario 3. Playback on web

    You are recommended to choose TCPlayer in the player SDK for playback. Based on Tencent Cloud's powerful backend functionality and AI technology, TCPlayerLite provides excellent playback capabilities for live streaming and video on-demand. Deeply integrated with the Tencent Cloud LVB and VOD services, Player+ features smooth and stable playback performance, advertising placement, and data monitoring.
    Currently, most mobile browsers on the market do not support HTTP-FLV playback. Therefore, for web-based playback, you are recommended to select the HTTP-FLV playback protocol for PC browsers and HLS for mobile browsers.


    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