Search Results for

    Show / Hide Table of Contents

    Class EncoderConfig

    Configuration for the Opus encoder. Properties map to Opus controls. http://www.opus-codec.org/

    Inheritance
    System.Object
    EncoderConfig
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: FM.LiveSwitch.Opus
    Assembly: FM.LiveSwitch.Opus.dll
    Syntax
    public sealed class EncoderConfig

    Constructors

    EncoderConfig()

    Creates a new copy of the Opus encoder configurations with default values.

    Declaration
    public EncoderConfig()

    Properties

    Application

    Gets or sets a value that maps to "OPUS_SET_APPLICATION".

    Declaration
    public ApplicationType Application { get; set; }
    Property Value
    Type Description
    ApplicationType

    Auto

    Gets the integral value that maps to the Opus "OPUS_AUTO" constant. Several int configuration properties can be set to this value.

    Declaration
    public static int Auto { get; }
    Property Value
    Type Description
    System.Int32

    Bandwidth

    Gets or sets a value that maps to "OPUS_SET_BANDWIDTH".

    Declaration
    public Bandwidth Bandwidth { get; set; }
    Property Value
    Type Description
    Bandwidth

    Complexity

    Gets or sets a value that maps to "OPUS_SET_COMPLEXITY".

    Declaration
    public int Complexity { get; set; }
    Property Value
    Type Description
    System.Int32

    Dtx

    Gets or sets a value that maps to "OPUS_SET_DTX".

    Declaration
    public int Dtx { get; set; }
    Property Value
    Type Description
    System.Int32

    ExpertFrameDuration

    Gets or sets a value that maps to "OPUS_SET_EXPERT_FRAME_DURATION".

    Declaration
    public ExpertFrameDuration ExpertFrameDuration { get; set; }
    Property Value
    Type Description
    ExpertFrameDuration

    ForceChannels

    Gets or sets a value that maps to "OPUS_SET_FORCE_CHANNELS".

    Declaration
    public int ForceChannels { get; set; }
    Property Value
    Type Description
    System.Int32

    ForwardErrorCorrection

    Gets or sets a value that maps to "OPUS_SET_INBAND_FEC".

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

    IsPredictionDisabled

    Gets or sets a value that maps to "OPUS_SET_PREDICTION_DISABLED".

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

    IsVbr

    Gets or sets a value that maps to "OPUS_SET_VBR".

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

    MaxBandwidth

    Gets or sets a value that maps to "OPUS_SET_MAX_BANDWIDTH".

    Declaration
    public Bandwidth MaxBandwidth { get; set; }
    Property Value
    Type Description
    Bandwidth

    PacketLossPercent

    Gets or sets a value that maps to "OPUS_SET_PACKET_LOSS_PERC".

    Declaration
    public int PacketLossPercent { get; set; }
    Property Value
    Type Description
    System.Int32

    Signal

    Gets or sets a value that maps to "OPUS_SET_SIGNAL".

    Declaration
    public Signal Signal { get; set; }
    Property Value
    Type Description
    Signal

    UseConstrainedVBR

    Gets or sets a value that maps to "OPUS_SET_VBR_CONSTRAINT".

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

    Methods

    DeepCopy()

    Gets a deep copy of this configuration.

    Declaration
    public EncoderConfig DeepCopy()
    Returns
    Type Description
    EncoderConfig
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0