Media Stream Buffering for Seamless Switching Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional techniques for switching between media streams in IP networks suffer from significant latency, resulting in noticeable lag times and potential dropped video frames due to round trip delays and buffering processes, which limit seamless media stream transitions.
Innovation Solution
The system includes a transmitter and receiver configuration with a buffer that allows for seamless switching between primary and secondary media streams, where secondary streams are buffered and made available before decoding, enabling a switch to occur with minimal latency by providing the buffered stream to the decoder before it is fully received.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If traditional switching techniques are used between media streams, then stream switching can be implemented, but significant latency and lag times occur
Solution Approach 1:
The system buffers secondary media streams in advance before they are needed for switching. The buffer receives and stores secondary streams from the network, making them readily available when a switch is requested. This preliminary action eliminates the need to wait for stream retrieval during switching, thereby reducing latency and improving switch speed without sacrificing stream quality.
2Loss of time
If buffering is implemented for stream switching, then switching latency is reduced, but system complexity increases
Solution Approach 1:
The buffer serves multiple functions within the system: it stores secondary media streams for future switching, manages network data flow, and provides seamless transition capability. By making the buffer multi-functional, the system reduces overall complexity compared to having separate dedicated components for each function, while still achieving low-latency switching performance.
3Reliability
If multiple secondary streams are buffered, then seamless switching is enabled, but memory resources are consumed
Solution Approach 1:
The system dynamically adjusts buffer allocation based on the number and priority of active media streams. When multiple secondary streams are buffered, the system modifies buffer parameters such as allocation size, retention time, and discard priorities to optimize memory usage. This allows seamless switching capability to be maintained while preventing excessive memory consumption through adaptive parameter management.
Data Source
AI summary
Disclosed herein are systems, methods, and devices for seamless switching between multiple source streams. Systems include a transmitter that includes encoders configured to generate and encode media streams for transmission. Systems also include a receiver configured to receive the media streams. The receiver includes decoders configured to receive and decode the media streams for display at a display unit. The systems may also include a buffer configured to buffer at least some of the media streams, the streams including at least one primary media stream and at least one secondary media stream, the buffer being configured to provide the a primary media stream to a decoder, and the buffer being further configured to buffer and discard the a secondary media stream. The systems also include a controller configured to switch the buffer to provide a secondary media stream to a decoder responsive to identifying a request for a switch event.


