sdpdemux

sdpdemux currently understands SDP as the input format of the session description. For each stream listed in the SDP a new stream_%u pad will be created with caps derived from the SDP media description. This is a caps of mime type "application/x-rtp" that can be connected to any available RTP depayloader element.

sdpdemux will internally instantiate an RTP session manager element that will handle the RTCP messages to and from the server, jitter removal, packet reordering along with providing a clock for the pipeline.

sdpdemux acts like a live element and will therefore only generate data in the PLAYING state.

Example launch line

 gst-launch-1.0 souphttpsrc location=http://some.server/session.sdp ! sdpdemux ! fakesink

Establish a connection to an HTTP server that contains an SDP session description that gets parsed by sdpdemux and send the raw RTP packets to a fakesink.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──sdpdemux

Implemented interfaces

Factory details

Authors: – Wim Taymans

Classification:Codec/Demuxer/Network/RTP

Rank – none

Plugin – sdpelem

Package – GStreamer Bad Plug-ins

Pad Templates

sink

application/sdp:

Presencealways

Directionsink

Object typeGstPad


stream_%u

application/x-rtp:

Presencesometimes

Directionsrc

Object typeGstPad


Properties

debug

“debug” gboolean

Dump request and response messages to stdout

Flags : Read / Write / Construct

Default value : false


latency

“latency” guint

Amount of ms to buffer

Flags : Read / Write / Construct

Default value : 200


media

“media” gchararray

Media to use, e.g. audio or video (NULL=allow all).

Flags : Read / Write

Default value : NULL

Since : 1.24


redirect

“redirect” gboolean

Sends a redirection message instead of using a custom session element

Flags : Read / Write / Construct

Default value : true


rtcp-mode

“rtcp-mode” Sdpdemux-rtcpmode *

RTCP mode: enable or disable receiving of Sender Reports and sending of Receiver Reports.

Flags : Read / Write / Construct

Default value : Send + Receive RTCP (3)

Since : 1.24


timeout

“timeout” guint64

Fail transport after UDP timeout microseconds (0 = disabled)

Flags : Read / Write / Construct

Default value : 10000000


timeout-inactive-rtp-sources

“timeout-inactive-rtp-sources” gboolean

Whether inactive RTP sources in the underlying RTP session should be timed out.

Flags : Read / Write / Construct

Default value : true

Since : 1.24


Named constants

Sdpdemux-rtcpmode

RTCP configuration.

Members

Send + Receive RTCP (3) – sendrecv
Receive RTCP sender reports (1) – recvonly
Send RTCP receiver reports (2) – sendonly
Disable RTCP (0) – inactivate

Since : 1.24


The results of the search are