Top | ![]() |
![]() |
![]() |
![]() |
gboolean | block | Read / Write |
GstCaps * | caps | Read / Write |
GstFormat | format | Read / Write |
gboolean | is-live | Read / Write |
guint64 | max-bytes | Read / Write |
gint64 | max-latency | Read / Write |
gint64 | min-latency | Read / Write |
gint64 | size | Read / Write |
GstAppStreamType | stream-type | Read / Write |
gboolean | emit-signals | Read / Write |
guint | min-percent | Read / Write |
GstFlowReturn | end-of-stream | Action |
void | enough-data | Run Last |
void | need-data | Run Last |
GstFlowReturn | push-buffer | Action |
gboolean | seek-data | Run Last |
The appsrc element can be used by applications to insert data into a GStreamer pipeline. Unlike most GStreamer elements, Appsrc provides external API functions.
For the documentation of the API, please see the
libgstapp section in theGStreamer Plugins Base Libraries documentation.
“block”
property “block” gboolean
Block push-buffer when max-bytes are queued.
Flags: Read / Write
Default value: FALSE
“format”
property “format” GstFormat
The format of the segment events and seek.
Flags: Read / Write
Default value: GST_FORMAT_BYTES
“is-live”
property “is-live” gboolean
Whether to act as a live source.
Flags: Read / Write
Default value: FALSE
“max-bytes”
property “max-bytes” guint64
The maximum number of bytes to queue internally (0 = unlimited).
Flags: Read / Write
Default value: 200000
“max-latency”
property “max-latency” gint64
The maximum latency (-1 = unlimited).
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“min-latency”
property “min-latency” gint64
The minimum latency (-1 = default).
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“size”
property “size” gint64
The size of the data stream in bytes (-1 if unknown).
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“stream-type”
property“stream-type” GstAppStreamType
the type of the stream.
Flags: Read / Write
Default value: GST_APP_STREAM_TYPE_STREAM
“emit-signals”
property “emit-signals” gboolean
Emit need-data, enough-data and seek-data signals.
Flags: Read / Write
Default value: TRUE
“end-of-stream”
signalGstFlowReturn user_function (GstAppSrc *gstappsrc, gpointer user_data)
Flags: Action
“enough-data”
signalvoid user_function (GstAppSrc *gstappsrc, gpointer user_data)
Flags: Run Last
“need-data”
signalvoid user_function (GstAppSrc *gstappsrc, guint arg1, gpointer user_data)
Flags: Run Last
“push-buffer”
signalGstFlowReturn user_function (GstAppSrc *gstappsrc, GstBuffer *arg1, gpointer user_data)
Flags: Action
“seek-data”
signalgboolean user_function (GstAppSrc *gstappsrc, guint64 arg1, gpointer user_data)
Flags: Run Last