ristsink

ristsink

Properties

gchar * address Read / Write
gchar * cname Read / Write
gdouble max-rtcp-bandwidth Read / Write / Construct
guint min-rtcp-interval Read / Write / Construct
gchar * multicast-iface Read / Write
gboolean multicast-loopback Read / Write / Construct
gint multicast-ttl Read / Write / Construct
guint port Read / Write / Construct
guint sender-buffer Read / Write / Construct
GstStructure * stats Read
guint stats-update-interval Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBin
                    ╰── GstRistSink

Implemented Interfaces

GstRistSink implements GstChildProxy.

Description

This element implements RIST TR-06-1 Simple Profile transmitter. It currently supports any registered RTP payload types such as MPEG TS. The stream passed to this element must be RTP payloaded already. Even though RTP SSRC collision is rare in unidirectional streaming, this element expect the upstream elements to obey to collision events and change the SSRC in use. Collision will ocure when tranmitting and receiving over multicast on the same host.

Example launch line

1
gst-launch-1.0 udpsrc ! tsparse set-timestamp=1 ! rtpmp2pay ! ristsink address=10.0.0.1 port=5004

Synopsis

Element Information

plugin

rist

author

Nicolas Dufresne <nicolas.dufresne@collabora.com

class

Source/Network

Element Pads

name

sink

direction

sink

presence

always

details

application/x-rtp

Functions

Types and Values

GstRistSink

typedef struct _GstRistSink GstRistSink;

Property Details

The “address” property

  “address”                  gchar *

Address to send packets to (can be IPv4 or IPv6).

Flags: Read / Write

Default value: "0.0.0.0"


The “cname” property

  “cname”                    gchar *

Set the CNAME in the SDES block of the sender report.

Flags: Read / Write

Default value: NULL


The “max-rtcp-bandwidth” property

  “max-rtcp-bandwidth”       gdouble

The maximum bandwidth used for RTCP in fraction of RTP bandwdith.

Flags: Read / Write / Construct

Allowed values: [0,0.05]

Default value: 0.05


The “min-rtcp-interval” property

  “min-rtcp-interval”        guint

The minimum interval in ms between two regular successive RTCP packets.

Flags: Read / Write / Construct

Allowed values: <= 100

Default value: 100


The “multicast-iface” property

  “multicast-iface”          gchar *

The multicast interface to use to send packets.

Flags: Read / Write

Default value: NULL


The “multicast-loopback” property

  “multicast-loopback”       gboolean

When enabled, the packet will be received locally.

Flags: Read / Write / Construct

Default value: FALSE


The “multicast-ttl” property

  “multicast-ttl”            gint

The multicast time-to-live parameter.

Flags: Read / Write / Construct

Allowed values: [0,255]

Default value: 1


The “port” property

  “port”                     guint

The port RTP packets will be sent, RTCP port is derived from it, this port must be an even number.

Flags: Read / Write / Construct

Allowed values: [2,65534]

Default value: 5004


The “sender-buffer” property

  “sender-buffer”            guint

Size of the retransmission queue in ms.

Flags: Read / Write / Construct

Default value: 1200


The “stats” property

  “stats”                    GstStructure *

Statistic in a GstStructure named 'rist/x-sender-stats'.

Flags: Read


The “stats-update-interval” property

  “stats-update-interval”    guint

The interval between 'stats' update notification (0 disabled).

Flags: Read / Write / Construct

Default value: 0

See Also

ristsrc