Added methods to create and parse BUFFERING messages.
[platform/upstream/gstreamer.git] / docs / design / part-buffering.txt
1 Buffering
2 ---------
3
4 This document outlines the buffering policy used in the GStreamer
5 core that can be used by plugins and applications.
6
7 The purpose of buffering is to accumulate enough data in a pipeline so that
8 playback can occur smoothly and without interruptions. It is typically done when
9 reading from a (slow) and non-live network source.
10
11 While data is buffered, the pipeline should remain in the PAUSED state. It is
12 also possible that more data should be buffered while the pipeline is PLAYING,
13 in which case the pipeline should be PAUSED until the buffering finished.
14
15
16 Messages
17 --------
18
19
20