rtpg726depay2

Extracts G726 encoded audio from RTP packets as per RFC 3551.

Example pipeline

 gst-launch-1.0 udpsrc2 caps='application/x-rtp, media=audio, clock-rate=8000, payload=8' ! rtpjitterbuffer latency=50 ! rtpg726depay2 ! avenc_g726 ! audioconvert ! audioresample ! autoaudiosink

This will depayload an incoming RTP G722 audio stream. You can use the rtpg726pay2 and avenc_g726 elements to create such an RTP stream.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBaseDepay2
                    ╰──rtpg726depay2

Factory details

Authors: – Matthew Waters

Classification: – Codec/Depayloader/Network/RTP

Rank – primary

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

application/x-rtp:
          media: audio
     clock-rate: 8000
  encoding-name: { (string)G726, (string)G726-16, (string)G726-24, (string)G726-32, (string)G726-40, (string)AAL2-G726-16, (string)AAL2-G726-24, (string)AAL2-G726-32, (string)AAL2-G726-40 }
encoding-params: 1

Presence – always

Direction – sink

Object type – GstPad


src

audio/x-adpcm:
       channels: 1
           rate: 8000
        bitrate: { (int)16000, (int)24000, (int)32000, (int)40000 }
    block_align: { (int)2, (int)3, (int)4, (int)5 }
         layout: g726

Presence – always

Direction – src

Object type – GstPad


Properties

force-aal2

“force-aal2” gboolean

Force AAL2 encoding for compatibility with bad depayloaders

Flags : Read / Write

Default value : false


The results of the search are