rtpamrdepay

Extract AMR audio from RTP packets according to RFC 3267. For detailed information see: http://www.rfc-editor.org/rfc/rfc3267.txt

Example pipeline

 gst-launch-1.0 udpsrc caps='application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)AMR, encoding-params=(string)1, octet-align=(string)1, payload=(int)96' ! rtpamrdepay ! amrnbdec ! pulsesink

This example pipeline will depayload and decode an RTP AMR stream. Refer to the rtpamrpay example to create the RTP stream.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRTPBaseDepayload
                    ╰──rtpamrdepay

Factory details

Authors: – Wim Taymans

Classification:Codec/Depayloader/Network/RTP

Rank – secondary

Plugin – gstrtp

Package – GStreamer Good Plug-ins

Pad Templates

sink

application/x-rtp:
          media: audio
     clock-rate: 8000
  encoding-name: AMR
    octet-align: 1
application/x-rtp:
          media: audio
     clock-rate: 16000
  encoding-name: AMR-WB
    octet-align: 1

Presencealways

Directionsink

Object typeGstPad


src

audio/AMR:
       channels: 1
           rate: 8000
audio/AMR-WB:
       channels: 1
           rate: 16000

Presencealways

Directionsrc

Object typeGstPad


Properties

max-reorder

“max-reorder” gint

Max seqnum reorder before assuming sender has restarted

Flags : Read / Write

Default value : 100


source-info

“source-info” gboolean

Add RTP source information as buffer meta

Flags : Read / Write

Default value : false


stats

“stats” GstStructure *

Various statistics

Flags : Read

Default value :

application/x-rtp-depayload-stats, clock_rate=(uint)0, npt-start=(guint64)0, npt-stop=(guint64)18446744073709551615, play-speed=(double)1, play-scale=(double)1, running-time-dts=(guint64)18446744073709551615, running-time-pts=(guint64)18446744073709551615, seqnum=(uint)0, timestamp=(uint)0;

The results of the search are