# rtpmux

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-1.0 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.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──rtpmux

## Factory details

Authors: – Zeeshan Ali

Classification: – `Codec/Muxer`

Rank – none

Plugin – rtpmanager

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink_%u`

    application/x-rtp:

Presence – request

Direction – sink

Object type – GstPad

### `src`

    application/x-rtp:

Presence – always

Direction – src

Object type – GstPad

## Properties

#### seqnum

    “seqnum” guint

The RTP sequence number of the last processed packet

Flags : Read

Default value : 0

#### seqnum-offset

    “seqnum-offset” gint

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

Flags : Read / Write

Default value : -1

#### ssrc

    “ssrc” guint

The SSRC of the packets (default == random)

Flags : Read / Write

Default value : -1

#### timestamp-offset

    “timestamp-offset” gint

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

Flags : Read / Write

Default value : -1

The results of the search are