When cloud applications run in scenarios such as virtual meetings, virtual exhibitions and interactive games, it is often necessary to push video streams to a live room at the same time so that more viewers in the live room can watch the rendered application without using additional CAR concurrencies.
Cloud-based stream pushing supports two methods of transmission: (1) Pushing streams to CSS by binding a CSS domain name; (2) Transmitting the target stream pushing address to transmit visuals to a specified address.
Procedure
1. Application Deployment
Perform operations such as uploading an application, creating a project, purchasing concurrencies, and testing the project on the CAR console to run your application. For more information, see User Guides. 2. Frontend and Backend Deployment
3.Cloud-based Stream Pushing
Method 1: Pushing Streams to CSS
1. Before using the stream pushing to CSS function, ensure that CSS is activated. 3. Initiate a cloud rendering concurrency and run the application. (Optional) If 24-hour uninterrupted live streaming is required, you can set the RunMode to RunWithoutClient during the session creation, thereby ensuring the continuous cloud application running and uninterrupted live streaming even in the absence of a client connection. 4. Invoke the push starting interface to push the images on the CAR concurrency to CSS in real time. Method 2: Pushing Streams to a Specified Address
Pushing streams to a specified address currently only supports the RTMP protocol. This function must be enabled on the console before it can be invoked through the interface.
1. On the function page of the cloud-based stream pushing on the console, select the tab indicating stream pushing to a specified address, and activate the service.
2. Initiate a cloud rendering concurrency and run the application. (Optional) If 24-hour uninterrupted live streaming is required, you can set the RunMode to RunWithoutClient during the session creation, thereby ensuring the continuous cloud application running and uninterrupted live streaming even in the absence of a client connection. 3. Invoke the stream pushing interface to push the streams of the cloud-based visuals to the specified address in real time. Customer Success Cases
Bullet Screen Interactive Game
A live streaming platform employs cloud rendering to operate bullet screen games, and push streams of the visuals to the live broadcast room. In the conventional broadcasting mode, bullet screen games require local installation and operation, setting a high threshold for broadcasters. By using cloud-based rendering for broadcasting, there is no need to download or install the games. Broadcasters can simply initiate the live bullet screen games via mobile applications. This mode is widely applicable to short video, voice chat, social, and live streaming applications.
Virtual event live streaming
1. A customer in the radio and TV industry runs their 3D virtual event app via CAR. The streaming host can control the app and direct the event from their browser. The audience can enter the virtual event where the host is located by opening a link, and they can view the stream and interact in real time with no downloads or installations required. Meanwhile, the customer uses the CAR stream push service to push the cloud application stream to CSS and other online video-sharing platforms with low latency, enabling tens of thousands of other audience members who have not entered the virtual space to watch the entire event in the live room (without using additional concurrencies).
2. With the support of CAR, Tencent Cloud created a venue mini program featuring immersive convergence for the 2022 Tencent Global Digital Ecosystem Summit. Using the mini program, users could quickly enter the 3D venue, interact, and watch talks from experts from an aerial view in the live room (without using additional concurrencies). They could not only interact with other audience members through text and emojis but also control the 3D special effects in real-time by clicking the Light Show/Fireworks button. With the CAR stream push service, the venue also allowed audience members to send invitations to invite friends to join a live viewing room. Everything the audience members did, saw, and heard in the venue could be shared to their friends' devices.
On-screen commenting interaction in the live room
DouYu hosted a virtual tournament viewing, where the virtual space was streamed in real-time to the live room. Audience members could enter the virtual space by clicking a link while watching the live stream. Those who had not entered the virtual space could also create virtual avatars through on-screen comments and join the dance floor to compete for camera attention (without using additional concurrencies). For more information, see How to Implement Live Room Interaction with On-Screen Comments.
Was this page helpful?