GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
gstrtpjitterbuffergstrtpjitterbuffer — A buffer that deals with network jitter and other transmission faults |
"do-lost" gboolean : Read / Write "drop-on-latency" gboolean : Read / Write "latency" guint : Read / Write "ts-offset" gint64 : Read / Write "mode" RTPJitterBufferMode : Read / Write "percent" gint : Read
"clear-pt-map" : Run Last / Action "handle-sync" : Run Last "on-npt-stop" : Run Last "request-pt-map" : Run Last "set-active" : Run Last / Action
This element reorders and removes duplicate RTP packets as they are received from a network source. It will also wait for missing packets up to a configurable time limit using the "latency" property. Packets arriving too late are considered to be lost packets.
This element acts as a live element and so adds "latency" to the pipeline.
The element needs the clock-rate of the RTP payload in order to estimate the delay. This information is obtained either from the caps on the sink pad or, when no caps are present, from the "request-pt-map" signal. To clear the previous pt-map use the "clear-pt-map" signal.
This element will automatically be used inside gstrtpbin.
gst-launch rtspsrc location=rtsp://192.168.1.133:8554/mpeg1or2AudioVideoTest ! gstrtpjitterbuffer ! rtpmpvdepay ! mpeg2dec ! xvimagesink
Last reviewed on 2007-05-28 (0.10.5)
"do-lost"
property "do-lost" gboolean : Read / Write
Send an event downstream when a packet is lost.
Default value: FALSE
"drop-on-latency"
property "drop-on-latency" gboolean : Read / Write
Tells the jitterbuffer to never exceed the given latency in size.
Default value: FALSE
"ts-offset"
property "ts-offset" gint64 : Read / Write
Adjust buffer timestamps with offset in nanoseconds.
Default value: 0
"mode"
property "mode" RTPJitterBufferMode : Read / Write
Control the buffering algorithm in use.
Default value: Slave receiver to sender clock
"clear-pt-map"
signalvoid user_function (GstRtpJitterBuffer *buffer, gpointer user_data) : Run Last / Action
Invalidate the clock-rate as obtained with the "request-pt-map" signal.
|
the object which received the signal |
|
user data set when the signal handler was connected. |
"handle-sync"
signalvoid user_function (GstRtpJitterBuffer *buffer, GstStructure *struct, gpointer user_data) : Run Last
Be notified of new sync values.
|
the object which received the signal |
|
a GstStructure containing sync values. |
|
user data set when the signal handler was connected. |
"on-npt-stop"
signalvoid user_function (GstRtpJitterBuffer *buffer, gpointer user_data) : Run Last
Signal that the jitterbufer has pushed the RTP packet that corresponds to the npt-stop position.
|
the object which received the signal |
|
user data set when the signal handler was connected. |
"request-pt-map"
signalGstCaps* user_function (GstRtpJitterBuffer *buffer, guint pt, gpointer user_data) : Run Last
Request the payload type as GstCaps for pt
.
|
the object which received the signal |
|
the pt |
|
user data set when the signal handler was connected. |
"set-active"
signalguint64 user_function (GstRtpJitterBuffer *buffer, gboolean Returns, guint64 arg2, gpointer user_data) : Run Last / Action
Start pushing out packets with the given base time. This signal is only useful in buffering mode.
|
the object which received the signal |
|
user data set when the signal handler was connected. |
Returns : |
the time of the last pushed packet. |
Since 0.10.19