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.
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
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.
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
Scenario 2. Playback on mobile client
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.
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.