The downloadbuffer element provides on-disk buffering and caching of, typically, a network file. temp-template should be set to a value such as /tmp/gstreamer-XXXXXX and the element will allocate a random free filename and buffer the data in the file.
With max-size-bytes and max-size-time you can configure the buffering limits. The downloadbuffer element will try to read-ahead these amounts of data. When the amount of read-ahead data drops below low-percent of the configured max, the element will start emitting BUFFERING messages until high-percent of max is reached again.
The downloadbuffer provides push and pull based scheduling on its source pad and will efficiently seek in the upstream element when needed.
The temp-location property will be used to notify the application of the allocated filename.
When the downloadbuffer has completely downloaded the media, it will post an application message named GstCacheDownloadComplete
with the following information:
location
: the location of the completely downloaded file.Authors: â Wim Taymans
Classification: â Generic
Rank â none
Plugin â coreelements
Package â GStreamer
Pad Templatessink
ANY
Presence â always
Direction â sink
Object type â GstPad
src
ANY
Presence â always
Direction â src
Object type â GstPad
Properties high-percentâhigh-percentâ gint
High threshold for buffering to finish. Emits GST_MESSAGE_BUFFERING with a value of 100%%
Flags : Read / Write
Default value : 99
low-percentâlow-percentâ gint
Low threshold for buffering to start. Emits GST_MESSAGE_BUFFERING with a value of 0%%
Flags : Read / Write
Default value : 10
max-size-bytesâmax-size-bytesâ guint
Max. amount of data to buffer (bytes, 0=disable)
Flags : Read / Write
Default value : 2097152
max-size-timeâmax-size-timeâ guint64
Max. amount of data to buffer (in ns, 0=disable)
Flags : Read / Write
Default value : 2000000000
temp-locationâtemp-locationâ gchararray
Location to store temporary files in (Only read this property, use temp-template to configure the name template)
Flags : Read
Default value : NULL
temp-removeâtemp-removeâ gboolean
When temp-template is set, remove the temporary file when going to READY.
Flags : Read / Write
Default value : true
temp-templateâtemp-templateâ gchararray
File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled)
Flags : Read / Write
Default value : NULL
The results of the search are
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4