Streaming media playing method and streaming media player
A playback method and media streaming technology, applied in the computer field, can solve problems such as streaming media frame loss, affecting user viewing experience, and freezing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 1 As shown, the present embodiment provides a streaming media playback method, which can be implemented by a streaming media player, and the method includes:
[0046] 11. Receive the media stream.
[0047] Specifically, the streaming media player can receive the media stream sent by the head-end device or the streaming media server.
[0048] 12. Separate the audio stream from the media stream, store the audio stream in the audio decoding buffer, decode the audio stream stored in the audio decoding buffer, and store the decoded audio data in the audio playback buffer Area.
[0049] 13. Separate the video stream from the media stream, store the video stream in the video decoding buffer, decode the video stream stored in the video decoding buffer, and store the decoded video data in the video playback buffer Area.
[0050] 14. Using the audio data stored in the audio playback buffer and the video data stored in the video playback buffer to play.
[0051...
Embodiment 2
[0054]This embodiment reduces the dependence on network bandwidth without reducing user experience, and users do not need to increase network usage costs to obtain higher-quality media services. By optimizing the playback process, CPU usage and memory usage are reduced. Rate. Fully considering the efficiency optimization of mobile applications, while ensuring fluency, the pin insertion algorithm is used to compensate for playback jitter caused by network bandwidth and stability.
[0055] In this embodiment, a time axis based on the local system time is established. This time axis is the basis for the entire player to work. It records the system time and media stream timestamp when playing the first frame of data (the first frame), and for each frame When the data is processed, the difference is compared, that is, the current system time is subtracted from the first frame system time to obtain the standard time difference, the current time stamp is subtracted from the first fra...
Embodiment 3
[0085] Such as image 3 As shown, the present embodiment provides a streaming media player, including:
[0086] A network receiving module 31, configured to receive media streams;
[0087] The audio separation module 32 is used to separate the audio stream from the media stream, store the audio stream in the audio decoding buffer, decode the audio stream stored in the audio decoding buffer, and decode the decoded audio data Store in the audio playback buffer;
[0088] The video separation module 33 is used to separate the video stream from the media stream, store the video stream in the video decoding buffer, decode the video stream stored in the video decoding buffer, and decode the decoded video data Stored in the video playback buffer;
[0089] The playing module 34 is used for playing the audio data stored in the audio playing buffer and the video data stored in the video playing buffer.
[0090] Such as Figure 4 As shown, optionally, the player also includes:
[00...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com