Live Streaming Delay Determination Using Server Clock Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining live streaming delay are inaccurate due to unsynchronized clocks between streamer and audience end devices, and require additional costs for external clock synchronization servers.
Innovation Solution
The method integrates clock synchronization with server end nodes processing live streaming data, allowing for precise calculation of live streaming delay by synchronizing clocks between streamer and audience end devices using existing server end nodes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If external clock synchronization servers are introduced to synchronize clocks between streamer and audience end devices, then measurement precision of live streaming delay is improved, but device complexity and costs increase
Solution Approach 1:
The server end nodes process both live streaming data and clock synchronization requests, making the system self-sufficient without requiring external clock synchronization servers. The existing server infrastructure serves dual purposes: content delivery and time reference provision.
Solution Approach 2:
The server end nodes perform multiple functions: they process live streaming data transmission and simultaneously provide clock synchronization services. This multi-functionality eliminates the need for separate dedicated clock synchronization infrastructure.
2Measurement precision
If external clock synchronization servers are introduced to synchronize clocks between streamer and audience end devices, then measurement precision of live streaming delay is improved, but costs increase
Solution Approach 1:
The system utilizes its own existing server end nodes to provide clock synchronization services, eliminating the need to procure and maintain separate external time synchronization infrastructure, thereby reducing overall system costs.
Solution Approach 2:
The server end nodes are designed to handle both live streaming data processing and clock synchronization requests, maximizing resource utilization and avoiding duplicate infrastructure investments.
3Device complexity
If clocks of streamer and audience end devices are not synchronized, then device complexity is reduced, but measurement precision of live streaming delay deteriorates
Solution Approach 1:
The server end nodes act as intermediary time references that both streamer and audience end devices synchronize with. This intermediary approach enables accurate delay measurement without requiring direct peer-to-peer clock synchronization between end devices.
Solution Approach 2:
The system uses its own server infrastructure to provide time synchronization services, maintaining simplicity by avoiding external dependencies while achieving the necessary measurement precision.
Data Source
AI summary
The present disclosure relates to the field of computer technology, and discloses a method and apparatus for determining a live streaming delay, a computer device, and a storage medium. The method provided by the present disclosure includes: sending a first clock synchronization request to a first server end node to obtain a first calibrated time difference, where the first server end node is used to process live streaming data; calibrating local time based on the first calibrated time difference to obtain calibrated time; obtaining a live streaming bitstream generated by a peer end from the first server end node to obtain a timestamp of the live streaming bitstream and a local current timestamp; and determining a live streaming delay based on the current timestamp and the timestamp of the live streaming bitstream.


