Top |
void | clear-pt-map | Action |
void | new-payload-type | Run Last |
void | payload-type-change | Run Last |
GstCaps* | request-pt-map | Run Last |
rtpptdemux 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 output pads based on the result of the “request-pt-map” signal.
1 |
gst-launch-1.0 udpsrc caps="application/x-rtp" ! rtpptdemux ! fakesink |
plugin |
rtpmanager |
author |
Kai Vehmanen <kai.vehmanen@nokia.com> |
class |
Demux/Network/RTP |
“clear-pt-map”
signalvoid user_function (GstRtpPtDemux *demux, gpointer user_data)
The application can call this signal to instruct the element to discard the currently cached payload type map.
demux |
the object which received the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“new-payload-type”
signalvoid user_function (GstRtpPtDemux *demux, guint pt, GstPad *pad, gpointer user_data)
Emited when a new payload type pad has been created in demux
.
demux |
the object which received the signal |
|
pt |
the payload type |
|
pad |
the pad with the new payload |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“payload-type-change”
signalvoid user_function (GstRtpPtDemux *demux, guint pt, gpointer user_data)
Emited when the payload type changed.
demux |
the object which received the signal |
|
pt |
the new payload type |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“request-pt-map”
signalGstCaps* user_function (GstRtpPtDemux *demux, guint pt, gpointer user_data)
Request the payload type as GstCaps for pt
.
demux |
the object which received the signal |
|
pt |
the payload type |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last