rtppcmapay2

Payloads A-law encoded audio into RTP packets as per RFC 3551.

Example pipeline

 gst-launch-1.0 audiotestsrc wave=ticks ! audio/x-raw,rate=8000,channels=1 ! alawenc ! rtppcmapay2 ! udpsink host=127.0.0.1 port=5004

This will generate an A-law audio test signal and payload it as RTP and send it out as UDP to localhost port 5004.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBasePay2
                    ╰──GstRtpBaseAudioPay2
                        ╰──GstRtpPcmauPay2
                            ╰──rtppcmapay2

Factory details

Authors: – Sebastian Dröge

Classification:Codec/Payloader/Network/RTP

Rank – marginal

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

audio/x-alaw:
       channels: 1
           rate: [ 1, 2147483647 ]

Presencealways

Directionsink

Object typeGstPad


src

application/x-rtp:
          media: audio
        payload: 8
     clock-rate: 8000
application/x-rtp:
          media: audio
  encoding-name: PCMA
     clock-rate: [ 1, 2147483647 ]

Presencealways

Directionsrc

Object typeGstPad


The results of the search are