摘要 |
Improved responsiveness and reduced latency of media playback on a media player is achieved by dynamic adjustment of storage parameters for the jitter buffer in the media player. Decreasing the size of the jitter buffer to a smaller constant value may provide acceptable, starvation-free playback in many cases. Playback of more demanding files requiring more buffered data for decode are addressed by dynamic adjustment of the jitter buffer parameters. An algorithmic or heuristic process is used to dynamically set the size of the jitter buffer before and during media playback. The jitter buffer size and/or preroll duration may be adjusted based upon the quality of playback experience. If playback starves, the jitter buffer size, starvation threshold, and/or preroll duration is increased before rebuffering and resuming playback. If the jitter buffer remains above a defined threshold for a given period of time, the jitter buffer size and/or preroll duration may be decreased, improving the responsiveness of startup and seek and trick mode operations.
|