rtpmux

rtpmux — multiplex N rtp streams into one

Synopsis

                    GstRTPMux;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstRTPMux
                     +----GstRTPDTMFMux

Properties

  "seqnum"                   guint                 : Read
  "seqnum-offset"            gint                  : Read / Write
  "ssrc"                     guint                 : Read / Write
  "timestamp-offset"         gint                  : Read / Write

Description

The rtp muxer takes multiple RTP streams having the same clock-rate and muxes into a single stream with a single SSRC.

Example pipelines

gst-launch rtpmux name=mux ! udpsink host=127.0.0.1 port=8888        \
             alsasrc ! alawenc ! rtppcmapay !                        \
             application/x-rtp, payload=8, rate=8000 ! mux.sink_0    \
             audiotestsrc is-live=1 !                                \
             mulawenc ! rtppcmupay !                                 \
             application/x-rtp, payload=0, rate=8000 ! mux.sink_1
In this example, an audio stream is captured from ALSA and another is generated, both are encoded into different payload types and muxed together so they can be sent on the same port.

Last reviewed on 2010-09-30 (0.10.21)

Details

GstRTPMux

typedef struct _GstRTPMux GstRTPMux;

The opaque GstRTPMux structure.

Property Details

The "seqnum" property

  "seqnum"                   guint                 : Read

The RTP sequence number of the last processed packet.

Default value: 0


The "seqnum-offset" property

  "seqnum-offset"            gint                  : Read / Write

Offset to add to all outgoing seqnum (-1 = random).

Allowed values: >= -1

Default value: -1


The "ssrc" property

  "ssrc"                     guint                 : Read / Write

The SSRC of the packets (-1 == random).

Default value: 4294967295


The "timestamp-offset" property

  "timestamp-offset"         gint                  : Read / Write

Offset to add to all outgoing timestamps (-1 = random).

Allowed values: >= -1

Default value: -1

See Also

rtpdtmfmux