rtpgsmpay2

Payload a GSM Audio Elementary Stream into RTP packets as per RFC 3551.

Example pipeline

 gst-launch audiotestsrc wave=ticks ! gsmenc ! rtpgsmpay2 ! udpsink2 host=127.0.0.1 port=5004

This will encode an audio test signal to GSM and then payload the encoded audio into RTP packets and send them out via UDP to localhost (IPv4) port 5004. You can use the rtpgsmdepay2 element to depayload such a stream, and the avdec_gsm element to decode the depayloaded stream.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstRtpBasePay2
                    ╰──rtpgsmpay2

Factory details

Authors: – Matthew Waters

Classification: – Codec/Payloader/Network/RTP

Rank – primary

Plugin – rsrtp

Package – gst-plugin-rtp

Pad Templates

sink

audio/x-gsm:
           rate: 8000
       channels: 1

Presence – always

Direction – sink

Object type – GstPad


src

application/x-rtp:
          media: audio
        payload: 3
     clock-rate: 8000
application/x-rtp:
          media: audio
  encoding-name: GSM
     clock-rate: 8000

Presence – always

Direction – src

Object type – GstPad


Properties

alignment-threshold

“alignment-threshold” guint64

Timestamp alignment threshold in nanoseconds

Flags : Read / Write

Default value : 40000000


discont-wait

“discont-wait” guint64

Window of time in nanoseconds to wait before creating a discontinuity

Flags : Read / Write

Default value : 1000000000


max-ptime

“max-ptime” gint64

Maximum duration of the packet data in ns (-1 = unlimited up to MTU)

Flags : Read / Write

Default value : 18446744073709551615


min-ptime

“min-ptime” gint64

Minimum duration of the packet data in ns (can't go above MTU)

Flags : Read / Write

Default value : 20000000


ptime-multiple

“ptime-multiple” gint64

Force buffers to be multiples of this duration in ns (0 disables)

Flags : Read / Write

Default value : 0


The results of the search are