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 : IMediaBlockSettingsInheritance
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
AutoReconnect
Automatically reconnect when the connection fails. Defaults to true.
public bool AutoReconnect { get; set; }Property Value
Latency
Gets or sets the latency. Defaults to 125 milliseconds.
public TimeSpan Latency { get; set; }Property Value
LocalAddress
Local address to bind. Defaults to null.
public string LocalAddress { get; set; }Property Value
LocalPort
Local port to bind. Defaults to 7001.
public uint LocalPort { get; set; }Property Value
Mode
SRT connection mode. Defaults to GstSRTConnectionMode.GST_SRT_CONNECTION_MODE_CALLER.
public SRTConnectionMode Mode { get; set; }Property Value
Passphrase
Password for the encrypted transmission.
public string Passphrase { get; set; }Property Value
PbKeyLen
Crypto key length in bytes. Defaults to GstSRTKeyLength.GST_SRT_KEY_LENGTH_NO_KEY.
public SRTKeyLength PbKeyLen { get; set; }Property Value
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
StreamID
Stream ID for the SRT access control.
public string StreamID { get; set; }Property Value
Uri
URI in the form of srt://address:port. Defaults to "srt://:8888".
public string Uri { get; set; }Property Value
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
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.