rtpreddec

Decode Redundant Audio Data (RED) as per RFC 2198.

This element is mostly provided for chrome webrtc compatibility: chrome will wrap ulpfec-protected streams in RED packets, and such streams need to be unwrapped by this element before being passed on to rtpulpfecdec.

The pt property should be set to the expected payload types of the RED packets.

When using rtpbin, this element should be inserted through the request-aux-receiver signal.

Example pipeline

 gst-launch-1.0 udpsrc port=8888 caps="application/x-rtp, payload=96, clock-rate=90000" ! rtpreddec pt=122 ! rtpstorage size-time=220000000 ! rtpssrcdemux ! application/x-rtp, payload=96, clock-rate=90000, media=video, encoding-name=H264 ! rtpjitterbuffer do-lost=1 latency=200 !  rtpulpfecdec pt=122 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink

This example will receive a stream with RED and ULP FEC and try to reconstruct the packets.

See also: rtpredenc, webrtcbin, rtpbin

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──rtpreddec

Factory details

Authors: – Hani Mustafa , Mikhail Fludkov

Classification:Codec/Depayloader/Network/RTP

Rank – none

Plugin – rtp

Package – GStreamer Good Plug-ins

Pad Templates

sink

application/x-rtp:

Presencealways

Directionsink

Object typeGstPad


src

application/x-rtp:

Presencealways

Directionsrc

Object typeGstPad


Properties

payloads

“payloads” GstValueArray *

All the RED payloads this decoder may encounter

Flags : Read / Write

Since : 1.20


pt

“pt” gint

Payload type FEC packets

Flags : Read / Write

Default value : -1


received

“received” guint

Count of received packets

Flags : Read

Default value : 0


The results of the search are