VisioForge (c) 2025

Search Results for

    Class SRTSinkSettings

    SRT sink settings.

    Inheritance
    object
    SRTSinkSettings
    Implements
    IMediaBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.X.Sinks
    Assembly: VisioForge.Core.dll
    Syntax
    public class SRTSinkSettings : IMediaBlockSettings

    Properties

    Authentication

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

    Declaration
    public bool Authentication { get; set; }
    Property Value
    Type Description
    bool

    AutoReconnect

    Automatically reconnect when the connection fails. Defaults to true.

    Declaration
    public bool AutoReconnect { get; set; }
    Property Value
    Type Description
    bool

    Latency

    Gets or sets the latency. Defaults to 125 milliseconds.

    Declaration
    public TimeSpan Latency { get; set; }
    Property Value
    Type Description
    TimeSpan

    LocalAddress

    Local address to bind. Defaults to null.

    Declaration
    public string LocalAddress { get; set; }
    Property Value
    Type Description
    string

    LocalPort

    Local port to bind. Defaults to 7001.

    Declaration
    public uint LocalPort { get; set; }
    Property Value
    Type Description
    uint

    Mode

    SRT connection mode. Defaults to GstSRTConnectionMode.GST_SRT_CONNECTION_MODE_CALLER.

    Declaration
    public SRTConnectionMode Mode { get; set; }
    Property Value
    Type Description
    SRTConnectionMode

    Passphrase

    Password for the encrypted transmission.

    Declaration
    public string Passphrase { get; set; }
    Property Value
    Type Description
    string

    PbKeyLen

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

    Declaration
    public SRTKeyLength PbKeyLen { get; set; }
    Property Value
    Type Description
    SRTKeyLength

    PollTimeout

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

    Declaration
    public TimeSpan? PollTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan?

    StreamID

    Stream ID for the SRT access control.

    Declaration
    public string StreamID { get; set; }
    Property Value
    Type Description
    string

    Uri

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

    Declaration
    public string Uri { get; set; }
    Property Value
    Type Description
    string

    WaitForConnection

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

    Declaration
    public bool WaitForConnection { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CreateBlock()

    Creates the block.

    Declaration
    public MediaBlock CreateBlock()
    Returns
    Type Description
    MediaBlock

    MediaBlock.

    Implements

    IMediaBlockSettings