Method and device for sending and playing stream medium data and stream medium program request system
A technology of media data and streaming media, which is applied in the field of streaming media on-demand systems, can solve the problems of large playback output delay and difficulty in achieving real-time performance, and achieve the effect of reducing delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] Embodiment 1 Method for sending streaming media data
[0063] like figure 1 shown, including:
[0064] S10. Obtain and cache the streaming media data to be sent;
[0065] After receiving the on-demand request from the client, the server obtains the streaming media data to be sent from the database, or collects the media data to be sent in real time, encodes the collected media data, and obtains the streaming media data to be sent.
[0066] S11. Send the streaming media data to the client according to the predetermined sending rhythm;
[0067] Assume that the data collected or obtained by the server is compressed at a fixed beat s and then sent to the cache. Since the network is unstable, the process of sending data needs to be scheduled. If the network bandwidth is good and the network transmission will not be blocked, then make the sending tact>s, so that there is no residual data or only a small amount of data left in the cache.
[0068] S12, counting the current c...
Embodiment 2
[0075] Embodiment 2, the method for playing streaming media data
[0076] like image 3 , the method includes the following steps:
[0077] S31. Receive streaming media data from the server and cache it,
[0078] S32. Output the buffered streaming media data according to the preset playback rhythm;
[0079] S33. Count the amount of streaming media data in the cache; the statistics of the data amount can be expressed in units of media data, for video, statistics can be made in units of frames, and for audio, statistics can be made in units of audio segments.
[0080] S34. Adjust the playback rhythm according to the amount of streaming media data.
[0081] Specifically, step S34 includes: if the amount of streaming media data in the buffer exceeds the third watermark T3, then speed up the playing rhythm of the streaming media, and if the amount of streaming media data in the buffer is less than the third watermark T3, then slow down the streaming media playback tempo.
[00...
Embodiment 3
[0098] Embodiment 3 The method of playing streaming media data
[0099] Some audio and video output beats are fixed, and the playback tempo cannot be adjusted to speed up or slow down by adjusting the playback tempo. At this time, the playback scheduling can be performed by discarding data or replaying data. If you need to speed up the playback rhythm, you can discard the data in the cache. The discarded data can be discarded for the entire frame, or only discard the non-critical data in the frame; if you need to slow down the playback rhythm, you can repeat the data that has just been played . The setting of the waterline can be similar to that of Embodiment 2. For the smooth control of the playback rhythm, it can also be similar to the linear adjustment method of Embodiment 2. For example, if the data in the cache exceeds the watermark T3, the more it exceeds, the more you need The more non-critical data is discarded, the less it exceeds, only a small part of non-critical d...
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