gstrtpssrcdemux

gstrtpssrcdemux — Splits RTP streams based on the SSRC

Synopsis

                    GstRtpSsrcDemux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstRtpSsrcDemux

Signals

  "clear-ssrc"                                     : Run Last / Action
  "new-ssrc-pad"                                   : Run Last
  "removed-ssrc-pad"                               : Run Last

Description

gstrtpssrcdemux acts as a demuxer for RTP packets based on the SSRC of the packets. Its main purpose is to allow an application to easily receive and decode an RTP stream with multiple SSRCs.

For each SSRC that is detected, a new pad will be created and the "new-ssrc-pad" signal will be emitted.

Example pipelines

gst-launch udpsrc caps="application/x-rtp" ! gstrtpssrcdemux ! fakesink
Takes an RTP stream and send the RTP packets with the first detected SSRC to fakesink, discarding the other SSRCs.

Last reviewed on 2007-05-28 (0.10.5)

Details

GstRtpSsrcDemux

typedef struct _GstRtpSsrcDemux GstRtpSsrcDemux;

Signal Details

The "clear-ssrc" signal

void                user_function                      (GstRtpSsrcDemux *demux,
                                                        guint            ssrc,
                                                        gpointer         user_data)      : Run Last / Action

Action signal to remove the pad for SSRC.

demux :

the object which received the signal

ssrc :

the SSRC of the pad

user_data :

user data set when the signal handler was connected.

The "new-ssrc-pad" signal

void                user_function                      (GstRtpSsrcDemux *demux,
                                                        guint            ssrc,
                                                        GstPad          *pad,
                                                        gpointer         user_data)      : Run Last

Emited when a new SSRC pad has been created.

demux :

the object which received the signal

ssrc :

the SSRC of the pad

pad :

the new pad.

user_data :

user data set when the signal handler was connected.

The "removed-ssrc-pad" signal

void                user_function                      (GstRtpSsrcDemux *demux,
                                                        guint            ssrc,
                                                        GstPad          *pad,
                                                        gpointer         user_data)      : Run Last

Emited when a SSRC pad has been removed.

demux :

the object which received the signal

ssrc :

the SSRC of the pad

pad :

the removed pad.

user_data :

user data set when the signal handler was connected.