# rtpamrpay

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

## Example pipeline

     gst-launch-1.0 -v audiotestsrc ! amrnbenc ! rtpamrpay ! udpsink

This example pipeline will encode and payload an AMR stream. Refer to the rtpamrdepay example to depayload and decode the RTP stream.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstRTPBasePayload
                        ╰──rtpamrpay

## Factory details

Authors: – Wim Taymans

Classification: – `Codec/Payloader/Network/RTP`

Rank – secondary

Plugin – rtp

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

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

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-rtp:
              media: audio
            payload: [ 96, 127 ]
         clock-rate: 8000
      encoding-name: AMR
    encoding-params: 1
        octet-align: 1
                crc: 0
     robust-sorting: 0
       interleaving: 0
           mode-set: [ 0, 7 ]
    mode-change-period: [ 1, 2147483647 ]
    mode-change-neighbor: { (string)0, (string)1 }
           maxptime: [ 20, 2147483647 ]
              ptime: [ 20, 2147483647 ]
    application/x-rtp:
              media: audio
            payload: [ 96, 127 ]
         clock-rate: 16000
      encoding-name: AMR-WB
    encoding-params: 1
        octet-align: 1
                crc: 0
     robust-sorting: 0
       interleaving: 0
           mode-set: [ 0, 7 ]
    mode-change-period: [ 1, 2147483647 ]
    mode-change-neighbor: { (string)0, (string)1 }
           maxptime: [ 20, 2147483647 ]
              ptime: [ 20, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

The results of the search are