Dynamic Delay Window for Live Streaming Playback Continuity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current live streaming technologies face issues with dropped frames and latency due to complex internet environments, leading to frequent playback stops and poor user experience, as the playback terminal cannot effectively manage resource slice requests and handle failures.
Innovation Solution
A method and system that slice streaming media into resource slices, initialize a delay window, and accumulate consecutive request failures to identify and manage requesting speed by sliding the delay window when failures reach a threshold, ensuring successful resource slice requests and maintaining playback continuity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Duration of action of moving object
If the playback terminal continuously requests resource slices at high speed, then the playback continuity may be improved, but the network errors and frame losses increase due to complex internet environment
Solution Approach 1:
The delay window size is dynamically adjusted based on the playback terminal's network status and request success rate. When the terminal experiences network errors or frame losses, the system automatically reduces the delay window size to limit the requesting speed, thereby reducing network errors and frame losses while maintaining playback continuity.
Solution Approach 2:
The system implements a feedback mechanism where the playback terminal monitors its own request success rate and network status. Based on this feedback, the delay window size is automatically adjusted - increasing it when requests are successful and decreasing it when errors occur, creating a closed-loop control system that balances playback continuity and reliability.
2Productivity
If the delay window size is increased to allow more resource slice requests, then the requesting speed increases, but the playback cache becomes smaller and play position moves forward causing frequent playback stops
Solution Approach 1:
The delay window size is made dynamic rather than fixed. The system continuously monitors the request success rate and automatically adjusts the delay window size - expanding it when requests are successful to increase requesting speed, and contracting it when failures occur to maintain playback stability and prevent frequent playback stops.
3Quantity of substance
If the playback terminal sends frequent requests to the server, then the resource slice acquisition may be improved, but the server response time increases and playback stops occur
Solution Approach 1:
The frequency of requests to the server is dynamically controlled through adaptive adjustment of the delay window size. When the terminal successfully acquires resource slices, the system allows higher request frequencies. When server response time increases or failures occur, the system automatically reduces the request frequency by shrinking the delay window, thereby reducing server load and improving response time while maintaining adequate resource slice acquisition.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
The present disclosure provides a live streaming method, and an apparatus and system thereof. The method, system, and apparatus include initializing a delay window; according to the delay window, requesting a resource slice within a range of the delay window; determining whether a result of a first request for the resource slice within the range of the delay window is successful; accumulating a number of consecutive failures of the first request for the resource slice within the delay window and; when the number of failures reaches a preset threshold, sliding the delay window to limit a requesting speed of a playback terminal. The disclosure provides a technical solution that can promptly perceive a delay in the playback environment. Through sliding the delay window, the requesting speed of the playback terminal can be limited, thereby to avoid that the playback is frequently stopped on the playback terminal.