rtpssrcdemux

rtpssrcdemux 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-1.0 udpsrc caps="application/x-rtp" ! rtpssrcdemux ! fakesink

Takes an RTP stream and send the RTP packets with the first detected SSRC to fakesink, discarding the other SSRCs.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──rtpssrcdemux

Factory details

Authors: – Wim Taymans

Classification:Demux/Network/RTP

Rank – none

Plugin – gstrtpmanager

Package – GStreamer Good Plug-ins git

Pad Templates

rtcp_sink

application/x-rtcp:

Presencealways

Directionsink


rtcp_src_%u

application/x-rtcp:

Presencesometimes

Directionsrc


sink

application/x-rtp:

Presencealways

Directionsink


src_%u

application/x-rtp:

Presencesometimes

Directionsrc


Signals

clear-ssrc

clear_ssrc_callback (GstElement * demux,
                     guint ssrc,
                     gpointer udata)
def clear_ssrc_callback (demux, ssrc, udata):
    #python callback for the 'clear-ssrc' signal
function clear_ssrc_callback(demux: GstElement * demux, ssrc: guint ssrc, udata: gpointer udata): {
    // javascript callback for the 'clear-ssrc' signal
}

Action signal to remove the pad for SSRC.

Parameters:

demux

the object which received the signal

ssrc

the SSRC of the pad

udata
No description available

new-ssrc-pad

new_ssrc_pad_callback (GstElement * demux,
                       guint ssrc,
                       GstPad * pad,
                       gpointer udata)
def new_ssrc_pad_callback (demux, ssrc, pad, udata):
    #python callback for the 'new-ssrc-pad' signal
function new_ssrc_pad_callback(demux: GstElement * demux, ssrc: guint ssrc, pad: GstPad * pad, udata: gpointer udata): {
    // javascript callback for the 'new-ssrc-pad' signal
}

Emited when a new SSRC pad has been created.

Parameters:

demux

the object which received the signal

ssrc

the SSRC of the pad

pad

the new pad.

udata
No description available

no-more-pads

no_more_pads_callback (GstElement * param_0,
                       gpointer udata)
def no_more_pads_callback (param_0, udata):
    #python callback for the 'no-more-pads' signal
function no_more_pads_callback(param_0: GstElement * param_0, udata: gpointer udata): {
    // javascript callback for the 'no-more-pads' signal
}

Parameters:

param_0
No description available
udata
No description available

pad-added

pad_added_callback (GstElement * param_0,
                    GstPad * param_1,
                    gpointer udata)
def pad_added_callback (param_0, param_1, udata):
    #python callback for the 'pad-added' signal
function pad_added_callback(param_0: GstElement * param_0, param_1: GstPad * param_1, udata: gpointer udata): {
    // javascript callback for the 'pad-added' signal
}

Parameters:

param_0
No description available
param_1
No description available
udata
No description available

pad-removed

pad_removed_callback (GstElement * param_0,
                      GstPad * param_1,
                      gpointer udata)
def pad_removed_callback (param_0, param_1, udata):
    #python callback for the 'pad-removed' signal
function pad_removed_callback(param_0: GstElement * param_0, param_1: GstPad * param_1, udata: gpointer udata): {
    // javascript callback for the 'pad-removed' signal
}

Parameters:

param_0
No description available
param_1
No description available
udata
No description available

removed-ssrc-pad

removed_ssrc_pad_callback (GstElement * demux,
                           guint ssrc,
                           GstPad * pad,
                           gpointer udata)
def removed_ssrc_pad_callback (demux, ssrc, pad, udata):
    #python callback for the 'removed-ssrc-pad' signal
function removed_ssrc_pad_callback(demux: GstElement * demux, ssrc: guint ssrc, pad: GstPad * pad, udata: gpointer udata): {
    // javascript callback for the 'removed-ssrc-pad' signal
}

Emited when a SSRC pad has been removed.

Parameters:

demux

the object which received the signal

ssrc

the SSRC of the pad

pad

the removed pad.

udata
No description available

Properties

name

“name” gchararray

The name of the object

Flags : Read / Write / Construct

Default value : NULL


parent

“parent” GstObject *

The parent of the object

Flags : Read / Write


The results of the search are