tencent cloud

Push Stream Integration Details
Last updated: 2023-12-25 14:05:44
Push Stream Integration Details
Last updated: 2023-12-25 14:05:44
This document describes how to integrate the SDK or plugin into your program to implement the CSS stream push feature.

Prerequisites

You have activated the CSS service.
Select Domain Management, click Add Domain, and add a push domain name as instructed in Adding Your Own Domain.
In the CSS console, generate a push address in CSS Toolkit > Address Generator as instructed in Address Generator. Then, implement live push in your own business based on your business scenarios as follows:

Integration into the native application

Download and integrate the MLVB SDK as instructed in the iOS and Android integration guides.
Note
To enable RTMP stream push, you need to create the TXLivePusher object and set V2TXLiveMode to _RTMP when initializing the V2TXLivePusher component. Below is the configuration for iOS and Android:
iOS
V2TXLivePusher *pusher = [[V2TXLivePusher alloc] initWithLiveMode:V2TXLiveMode_RTMP];
Android
V2TXLivePusher mLivePusher = new V2TXLivePusherImpl(this, V2TXLiveDef.V2TXLiveMode.TXLiveMode_RTMP);

Integration on the web

Integration on the web currently supports only the WebRTC protocol for stream push. You can integrate the SDK as instructed in WebRTC.
Note:
You can also directly perform web page live streaming in the Web Push section of the CSS Console.

Integration on PC

For PC (Windows/macOS), you can directly use OBS for stream push. It is a free open-source video shooting and streaming program that supports operating systems such as Windows, macOS, and Linux.
If the stream push protocol is WebRTC, you need to configure the OBS plugin provided by Tencent Cloud as instructed in OBS WebRTC live streaming.

More

Using the MLVB SDK will incur fees. For billing details, see Billing Overview.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback