GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
"clear-pt-map" : Run Last / Action "new-payload-type" : Run Last "payload-type-change" : Run Last "request-pt-map" : Run Last
gstrtpptdemux acts as a demuxer for RTP packets based on the payload type of the packets. Its main purpose is to allow an application to easily receive and decode an RTP stream with multiple payload types.
For each payload type that is detected, a new pad will be created and the "new-payload-type" signal will be emitted. When the payload for the RTP stream changes, the "payload-type-change" signal will be emitted.
The element will try to set complete and unique application/x-rtp caps on the outgoing buffers and pads based on the result of the "request-pt-map" signal.
gst-launch udpsrc caps="application/x-rtp" ! gstrtpptdemux ! fakesink
Last reviewed on 2007-05-28 (0.10.5)
"clear-pt-map"
signalvoid user_function (GstRtpPtDemux *demux, gpointer user_data) : Run Last / Action
The application can call this signal to instruct the element to discard the currently cached payload type map.
|
the object which received the signal |
|
user data set when the signal handler was connected. |
"new-payload-type"
signalvoid user_function (GstRtpPtDemux *demux, guint pt, GstPad *pad, gpointer user_data) : Run Last
Emited when a new payload type pad has been created in demux
.
|
the object which received the signal |
|
the payload type |
|
the pad with the new payload |
|
user data set when the signal handler was connected. |
"payload-type-change"
signalvoid user_function (GstRtpPtDemux *demux, guint pt, gpointer user_data) : Run Last
Emited when the payload type changed.
|
the object which received the signal |
|
the new payload type |
|
user data set when the signal handler was connected. |
"request-pt-map"
signalGstCaps* user_function (GstRtpPtDemux *demux, guint pt, gpointer user_data) : Run Last
Request the payload type as GstCaps for pt
.
|
the object which received the signal |
|
the payload type |
|
user data set when the signal handler was connected. |