Media Stream Transition Buffering Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for transitioning between compressed media streams are cumbersome and result in excessive loading times, straining processing and memory resources, leading to a degraded user experience due to the need to run multiple decoders and handle bandwidth changes.
Innovation Solution
A method that seamlessly transitions from decompressing one compressed media stream to another by buffering and preparing the second stream while continuing to provide the first stream, allowing for efficient switching without concurrent decoding of both streams, thus minimizing interruptions and resource strain.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple decoders are run concurrently to handle different media streams, then the system can switch between streams, but processing and memory resources are strained
Solution Approach 1:
The system performs preliminary actions by buffering the second media stream data while the first stream is being decoded and presented. This allows the second decoder to be prepared in advance, reducing the need for concurrent full operation of multiple decoders and minimizing resource strain during transitions.
2Adaptability or versatility
If a second decoder is loaded to provide a second media stream, then stream switching is enabled, but the media stream pauses while the decoder loads
Solution Approach 1:
The system buffers the second media stream data in advance during the transition period, so that when the second decoder is ready, the data is already available for immediate processing and presentation, eliminating loading pauses.
Solution Approach 2:
The system maintains continuous presentation of media content by buffering data during transitions, ensuring that the useful action of media playback continues without interruption even while decoder switching occurs.
3Productivity
If the system buffers and prepares the second stream while continuing to provide the first stream, then transition times are reduced, but memory resources are consumed for buffering
Solution Approach 1:
The system applies partial buffering by storing only the necessary portion of the second media stream data needed for the transition period, rather than buffering entire streams. This provides sufficient transition speed while minimizing memory resource consumption.
Data Source
AI summary
A computer system generates a first decompressed media stream based on a first compressed media stream and provides the first decompressed media stream to a presentation device. While providing the first decompressed media to the presentation device: the computer system receives a content-transition indication indicating that a second decompressed media stream is to be provided to the presentation device instead of the first decompressed media stream. The computer system stores first buffered data corresponding to the first decompressed media stream and receives a second compressed media stream corresponding to the second decompressed media stream. After receiving the second compressed media stream, the computer system provides the first buffered data corresponding to the first decompressed media stream to the presentation device while preparing to generate the second decompressed media stream, and after preparing to generate the second decompressed media stream, provides the second decompressed media stream to the presentation device.


