Search Results for

    Show / Hide Table of Contents

    Class CodecInfo

    Codec information.

    Inheritance
    System.Object
    Info
    CodecInfo
    Inherited Members
    Info.Id
    Info.ProcessBoolean(Boolean, Boolean)
    Info.ProcessShort(Int16, Int16)
    Info.ProcessInteger(Int32, Int32)
    Info.ProcessLong(Int64, Int64)
    Info.ProcessFloat(Single, Single)
    Info.ProcessDouble(Double, Double)
    Info.ProcessString(String, String)
    Info.ProcessBooleanArray(Boolean[], Boolean[])
    Info.ProcessShortArray(Int16[], Int16[])
    Info.ProcessIntegerArray(Int32[], Int32[])
    Info.ProcessLongArray(Int64[], Int64[])
    Info.ProcessFloatArray(Single[], Single[])
    Info.ProcessFloatArray(Double[], Double[])
    Info.ProcessObject<T>(T, T)
    Info.ProcessArray<T>(T[], T[])
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class CodecInfo : Info

    Properties

    ChannelCount

    Gets or sets the codec channel count.

    Declaration
    public int? ChannelCount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    ClockRate

    Gets or sets the codec clock rate.

    Declaration
    public int? ClockRate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Name

    Gets or sets the codec name.

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

    Parameters

    Gets or sets the codec parameters.

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

    PayloadType

    Gets or sets the codec payload type.

    Declaration
    public int? PayloadType { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected override void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static CodecInfo FromJson(string codecInfoJson)
    Parameters
    Type Name Description
    System.String codecInfoJson

    The serialized JSON.

    Returns
    Type Description
    CodecInfo

    The deserialized instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

    Declaration
    public static CodecInfo[] FromJsonArray(string codecInfosJson)
    Parameters
    Type Name Description
    System.String codecInfosJson

    The serialized JSON.

    Returns
    Type Description
    CodecInfo[]

    The deserialized array.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected override void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.String> jsonObject

    The JSON object.

    Overrides
    Info.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to JSON.

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

    ToJson(CodecInfo)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(CodecInfo codecInfo)
    Parameters
    Type Name Description
    CodecInfo codecInfo

    The instance to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    ToJsonArray(CodecInfo[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(CodecInfo[] codecInfos)
    Parameters
    Type Name Description
    CodecInfo[] codecInfos

    The array 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.18.0