| Top |
| guint | seqnum | Read |
| gint | seqnum-offset | Read / Write |
| guint | ssrc | Read / Write |
| gint | timestamp-offset | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstRTPMux ╰── GstRTPDTMFMux
The rtp muxer takes multiple RTP streams having the same clock-rate and muxes into a single stream with a single SSRC.
1 2 3 4 5 6 |
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.
“seqnum” property“seqnum” guint
The RTP sequence number of the last processed packet.
Flags: Read
Default value: 0
“seqnum-offset” property“seqnum-offset” gint
Offset to add to all outgoing seqnum (-1 = random).
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“ssrc” property“ssrc” guint
The SSRC of the packets (default == random).
Flags: Read / Write
Default value: 4294967295
“timestamp-offset” property“timestamp-offset” gint
Offset to add to all outgoing timestamps (-1 = random).
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1