Co-Hosting Stream Push Timing for Faster First-Frame Join
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing co-hosting systems in network live streaming experience prolonged waiting times for users at the co-hosting invitee end after accepting an invitation, affecting the user experience due to delays in pushing and combining audio-video streams.
Innovation Solution
The system allows the co-hosting invitee end to start pushing the audio-video stream to the RTC server upon receiving the co-hosting acceptance operation, and the co-hosting inviting end to start pushing the stream upon receiving the notification of successfully joining the co-hosting room, thereby advancing the timing of stream delivery and combination.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the co-hosting invitee end waits for a response message from the co-hosting business server before pushing the audio-video stream to the RTC server, then the system maintains proper communication protocol and server coordination, but the co-hosting initiation time is delayed
Solution Approach 1:
The co-hosting invitee end performs preliminary actions by pushing the audio-video stream to the RTC server immediately upon accepting the co-hosting request, before receiving the response message from the co-hosting business server. This preliminary stream pushing action reduces the co-hosting initiation time while the system ensures reliability through subsequent synchronization of the response message handling.
2Reliability
If the co-hosting inviting end waits for the response message before joining the co-hosting room and pushing the stream, then the system ensures proper session coordination, but both users experience extended waiting time
Solution Approach 1:
The co-hosting inviting end performs preliminary actions by joining the co-hosting room and pushing the audio-video stream to the RTC server immediately after sending the co-hosting request, before receiving the response message. This allows the stream to be prepared and available earlier, reducing the waiting time for the first frame while maintaining session coordination through the response message mechanism.
Solution Approach 2:
The RTC server acts as an intermediary that receives and buffers the audio-video stream from the co-hosting inviting end before the co-hosting invitee end fully joins the session. This intermediary buffering mechanism allows the stream to be prepared in advance and delivered quickly when the invitee end is ready, reducing perceived waiting time while maintaining proper session coordination.
Data Source
AI summary
The present disclosure provides a method, an apparatus, a device and storage medium for co-hosting. A co-hosting invitee end receives a co-hosting request from a co-hosting inviting end through a co-hosting business server, and upon receipt of a co-hosting acceptance operation for the co-hosting request, pushes an audio-video stream to a real-time collaboration (RTC) server. Upon receipt of a notification message of successfully joining a co-hosting room from the RTC server, the co-hosting inviting end pushes an audio-video stream to the RTC server.


