Table of Contents

Class SRTSinkSettings

Namespace
VisioForge.Core.Types.X.Sinks
Assembly
VisioForge.Core.dll

SRT (Secure Reliable Transport) sink settings for low-latency video streaming.

public class SRTSinkSettings : IMediaBlockSettings

Inheritance

Implements

Inherited Members

Properties

Authentication

Boolean to authenticate a connection. If true, the incoming connection is authenticated. Defaults to true.

public bool Authentication { get; set; }

Property Value

bool

AutoReconnect

Automatically reconnect when the connection fails. Defaults to true.

public bool AutoReconnect { get; set; }

Property Value

bool

Latency

Gets or sets the latency. Defaults to 125 milliseconds.

public TimeSpan Latency { get; set; }

Property Value

TimeSpan

LocalAddress

Local address to bind. Defaults to null.

public string LocalAddress { get; set; }

Property Value

string

LocalPort

Local port to bind. Defaults to 7001.

public uint LocalPort { get; set; }

Property Value

uint

Mode

SRT connection mode. Defaults to GstSRTConnectionMode.GST_SRT_CONNECTION_MODE_CALLER.

public SRTConnectionMode Mode { get; set; }

Property Value

SRTConnectionMode

Passphrase

Password for the encrypted transmission.

public string Passphrase { get; set; }

Property Value

string

PbKeyLen

Crypto key length in bytes. Defaults to GstSRTKeyLength.GST_SRT_KEY_LENGTH_NO_KEY.

public SRTKeyLength PbKeyLen { get; set; }

Property Value

SRTKeyLength

PollTimeout

Return poll wait after timeout. A value of null indicates an infinite wait. Defaults to 1000 milliseconds.

public TimeSpan? PollTimeout { get; set; }

Property Value

TimeSpan?

StreamID

Stream ID for the SRT access control.

public string StreamID { get; set; }

Property Value

string

Uri

URI in the form of srt://address:port. Defaults to "srt://:8888".

public string Uri { get; set; }

Property Value

string

WaitForConnection

Boolean to block streaming until a client connects. If true, streaming only starts when a client is connected. Defaults to true.

public bool WaitForConnection { get; set; }

Property Value

bool

Methods

CreateBlock()

Creates the media block instance for SRT sink.

public MediaBlock CreateBlock()

Returns

MediaBlock

A new instance of VisioForge.Core.MediaBlocks.Sinks.SRTMPEGTSSinkBlock configured with these settings.