tencent cloud


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.


    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.
    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:
    V2TXLivePusher *pusher = [[V2TXLivePusher alloc] initWithLiveMode:V2TXLiveMode_RTMP];
    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.
    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.


    Using the MLVB SDK will incur fees. For billing details, see Billing Overview.
    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