rtprtxsend

rtprtxsend — Retransmit RTP packets when needed, according to RFC4588

Synopsis

struct              GstRtpRtxSend;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstRtpRtxSend

Properties

  "rtx-payload-type"         guint                 : Read / Write
  "max-size-time"            guint                 : Read / Write
  "max-size-packets"         guint                 : Read / Write
  "num-rtx-requests"         guint                 : Read
  "num-rtx-packets"          guint                 : Read
  "payload-type-map"         GstStructure*         : Read / Write
  "ssrc-map"                 GstStructure*         : Write

Description

See GstRtpRtxReceive for examples

The purpose of the sender RTX object is to keep a history of RTP packets up to a configurable limit (max-size-time or max-size-packets). It will listen for upstream custom retransmission events (GstRTPRetransmissionRequest) that comes from downstream (GstRtpSession). When receiving a request it will look up the requested seqnum in its list of stored packets. If the packet is available, it will create a RTX packet according to RFC 4588 and send this as an auxiliary stream. RTX is SSRC-multiplexed

Synopsis

Element Information

plugin

rtpmanager

author

Julien Isorce <julien.isorce@collabora.co.uk>

class

Codec

Element Pads

name

sink

direction

sink

presence

always

details

application/x-rtp, clock-rate=(int)[ 1, 2147483647 ]

name

src

direction

source

presence

always

details

application/x-rtp

Details

struct GstRtpRtxSend

struct GstRtpRtxSend;

Property Details

The "rtx-payload-type" property

  "rtx-payload-type"         guint                 : Read / Write

Payload type of the retransmission stream (fmtp in SDP).

Default value: 0


The "max-size-time" property

  "max-size-time"            guint                 : Read / Write

Amount of ms to queue (0 = unlimited).

Default value: 0


The "max-size-packets" property

  "max-size-packets"         guint                 : Read / Write

Amount of packets to queue (0 = unlimited).

Allowed values: <= 32767

Default value: 100


The "num-rtx-requests" property

  "num-rtx-requests"         guint                 : Read

Number of retransmission events received.

Default value: 0


The "num-rtx-packets" property

  "num-rtx-packets"          guint                 : Read

Number of retransmission packets sent.

Default value: 0


The "payload-type-map" property

  "payload-type-map"         GstStructure*         : Read / Write

Map of original payload types to their retransmission payload types.


The "ssrc-map" property

  "ssrc-map"                 GstStructure*         : Write

Map of SSRCs to their retransmission SSRCs for SSRC-multiplexed mode (default = random).