LVB Playback

Last updated: 2020-06-11 10:48:10

    Preparations

    1. Activate the LVB service and complete identity verification.
    2. Log in to the LVB Console to get a push address for LVB push. For detailed directions, please see LVB Push.
    3. Select Domain Management, click Add Domain, enter your ICP filed domain name, select Playback domain as the type, and click Save.
      • If you do not have a domain name, You can purchase one at another domain name service provider.
      • If you have already purchased a domain name but have not obtained an ICP filing for it, please apply through Tencent Cloud's Domain Name ICP Filing service. You can also do so at another domain name service provider.
    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 Address

    Select Auxiliary Tools > Address Generator in the LVB Console to get a playback address and configure as follows:

    • Select playback domain name as the type of generation.

    • Select the playback domain name you added in domain management.

    • Enter the same StreamName as that of the push address. The StreamName of the playback address must be the same as that of the push address to play back the corresponding stream.

    • Select the expiration time of the address, such as 2019-12-13 23:59:59.

    • Click Generate Address.

    In addition to the above method, you can also select a playback domain name in Domain Management in the LVB Console, click Manage, select Playback Configuration, select the expiration time of the playback address, enter the same StreamName as that of the push address, and click Generate Playback Address.

    LVB Playback

    You need to successfully perform LVB push first before the stream can be watched at the playback address. You can use the following methods to test live streaming based on your business scenario:

    Scenario 1. PC playback

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

    Scenario 2. Mobile playback

    1. Download and install the Tencent Video Cloud demo.

    2. Open MLVB > LVB Pull.

    3. Enter the playback address in the input box or scan the QR code of the playback address.

    4. Tap "Play" in the bottom-left corner for playback.

    If you need to push/play back a stream in an application or WeChat Mini Program, you can integrate the MLVB SDK to use the LVB service, which supports RTMP, HTTP-FLV, and HLS playback protocols.

    Scenario 3. Mini Program playback

    1. Search for the "Tencent Video Cloud" Mini Program in WeChat and select LVB Playback.
    2. Tap Scan Code to scan the QR code translated from the playback address.
    3. Tap "Play" in the bottom-left corner for playback.

    Scenario 4. Web playback

    You are recommended to choose TCPlayerLite 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 playback, you are recommended to select the HTTP-FLV playback protocol for PC browsers and HLS for mobile browsers.

    FAQs

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help