Search Results for

    Show / Hide Table of Contents

    Class ConnectionConfig

    Connection configuration.

    Inheritance
    System.Object
    ConnectionConfig
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ConnectionConfig : object

    Properties

    AudioDirection

    Gets or sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").

    Declaration
    public string AudioDirection { get; set; }
    Property Value
    Type Description
    System.String

    DataDirection

    Gets or sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").

    Declaration
    public string DataDirection { get; set; }
    Property Value
    Type Description
    System.String

    LocalAudioDisabled

    Gets or sets if local audio is disabled.

    Declaration
    public bool LocalAudioDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    LocalAudioMuted

    Gets or sets if the local audio is muted.

    Declaration
    public bool LocalAudioMuted { get; set; }
    Property Value
    Type Description
    System.Boolean

    LocalDataDisabled

    Gets or sets if local data is disabled.

    Declaration
    public bool LocalDataDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    LocalVideoDisabled

    Gets or sets if local video is disabled.

    Declaration
    public bool LocalVideoDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    LocalVideoMuted

    Gets or sets if the local video is muted.

    Declaration
    public bool LocalVideoMuted { get; set; }
    Property Value
    Type Description
    System.Boolean

    RemoteAudioDisabled

    Gets or sets if remote audio is disabled.

    Declaration
    public bool RemoteAudioDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    RemoteAudioEncoding

    Gets or sets the remote audio encoding.

    Declaration
    public EncodingInfo RemoteAudioEncoding { get; set; }
    Property Value
    Type Description
    EncodingInfo

    RemoteDataDisabled

    Gets or sets if remote data is disabled.

    Declaration
    public bool RemoteDataDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    RemoteVideoDisabled

    Gets or sets if remote video is disabled.

    Declaration
    public bool RemoteVideoDisabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    RemoteVideoEncoding

    Gets or sets the remote video encoding.

    Declaration
    public EncodingInfo RemoteVideoEncoding { get; set; }
    Property Value
    Type Description
    EncodingInfo

    Tag

    Gets or sets the tag for this connection.

    Declaration
    public string Tag { get; set; }
    Property Value
    Type Description
    System.String

    VideoDirection

    Gets or sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").

    Declaration
    public string VideoDirection { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static ConnectionConfig FromJson(string connectionConfigJson)
    Parameters
    Type Name Description
    System.String connectionConfigJson

    The JSON to deserialize.

    Returns
    Type Description
    ConnectionConfig

    The deserialized connection config.

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    ToJson(ConnectionConfig)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(ConnectionConfig connectionConfig)
    Parameters
    Type Name Description
    ConnectionConfig connectionConfig

    The connection config to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0