Class EncoderConfig
Configuration for the OpenH264 encoder. Properties map to OpenH264 properties. http://www.openh264.org
Inheritance
Inherited Members
Namespace: FM.LiveSwitch.OpenH264
Assembly: FM.LiveSwitch.OpenH264.dll
Syntax
public sealed class EncoderConfig
Constructors
EncoderConfig()
Creates a new copy of the H264 encoder configurations with default values.
Declaration
public EncoderConfig()
Properties
ComplexityMode
Gets or sets a value that maps to "iComplexityMode".
Declaration
public ComplexityMode ComplexityMode { get; set; }
Property Value
Type | Description |
---|---|
ComplexityMode |
EnableAdaptiveQuant
Gets or sets a value that maps to "bEnableAdaptiveQuant".
Declaration
public bool EnableAdaptiveQuant { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableBackgroundDetection
Gets or sets a value that maps to "bEnableBackgroundDetection".
Declaration
public bool EnableBackgroundDetection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableDenoise
Gets or sets a value that maps to "bEnableDenoise".
Declaration
public bool EnableDenoise { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableFrameCroppingFlag
Gets or sets a value that maps to "bEnableFrameCroppingFlag".
Declaration
public bool EnableFrameCroppingFlag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableFrameSkip
Gets or sets a value that maps to "bEnableFrameSkip".
Declaration
public bool EnableFrameSkip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableLongTermReference
Gets or sets a value that maps to "bEnableLongTermReference".
Declaration
public bool EnableLongTermReference { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableSceneChangeDetect
Gets or sets a value that maps to "bEnableSceneChangeDetect".
Declaration
public bool EnableSceneChangeDetect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableSsei
Gets or sets a value that maps to "bEnableSSEI".
Declaration
public bool EnableSsei { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EntropyCodingModeFlag
Gets or sets a value that maps to "iEntropyCodingModeFlag".
Declaration
public int EntropyCodingModeFlag { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IntraPeriod
Gets or sets a value that maps to "uiIntraPeriod".
Declaration
public int IntraPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsLosslessLink
Gets or sets a value that maps to "bIsLosslessLink".
Declaration
public bool IsLosslessLink { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoopFilterAlphaC0Offset
Gets or sets a value that maps to "iLoopFilterAlphaC0Offset".
Declaration
public int LoopFilterAlphaC0Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LoopFilterBetaOffset
Gets or sets a value that maps to "iLoopFilterBetaOffset".
Declaration
public int LoopFilterBetaOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LoopFilterDisableIdc
Gets or sets a value that maps to "iLoopFilterDisaleIdc".
Declaration
public int LoopFilterDisableIdc { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LtrMarkPeriod
Gets or sets a value that maps to "iLtrMarkPeriod".
Declaration
public int LtrMarkPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LtrRefNum
Gets or sets a value that maps to "iLTRRefNum".
Declaration
public int LtrRefNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxFrameRate
Gets or sets a value that maps to "fMaxFrameRate".
Declaration
public float MaxFrameRate { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxNalSize
Gets or sets a value that maps to "uiMaxNalSize".
Declaration
public int MaxNalSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxQP
Gets or sets a value that maps to "iMaxQp".
Declaration
public int MaxQP { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinQP
Gets or sets a value that maps to "iMinQp".
Declaration
public int MinQP { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MultipleThreadIdc
Gets or sets a value that maps to "iMultipleThreadIdc".
Declaration
public int MultipleThreadIdc { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NumRefFrame
Gets or sets a value that maps to "iNumRefFrame".
Declaration
public int NumRefFrame { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaddingFlag
Gets or sets a value that maps to "iPaddingFlag".
Declaration
public bool PaddingFlag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrefixNalAddingControl
Gets or sets a value that maps to "bPrefixNalAddingCtrl".
Declaration
public bool PrefixNalAddingControl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RcMode
Gets or sets a value that maps to "iRCMode".
Declaration
public RateControlMode RcMode { get; set; }
Property Value
Type | Description |
---|---|
RateControlMode |
SimulcastAvc
Gets or sets a value that maps to "bSimulcastAVC".
Declaration
public bool SimulcastAvc { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SpatialLayerNum
Gets or sets a value that maps to "iSpatialLayerNum".
Declaration
public int SpatialLayerNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SpatialLayers
Gets the spatial layer configurations that map to "sSpatialLayers".
Declaration
public EncoderSpatialLayerConfig[] SpatialLayers { get; }
Property Value
Type | Description |
---|---|
EncoderSpatialLayerConfig[] |
SpsPpsIdStrategy
Gets or sets a value that maps to "eSpsPpsIdStrategy".
Declaration
public ParameterSetStrategy SpsPpsIdStrategy { get; set; }
Property Value
Type | Description |
---|---|
ParameterSetStrategy |
TemporalLayerNum
Gets or sets a value that maps to "iTemporalLayerNum".
Declaration
public int TemporalLayerNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UsageType
Gets or sets a value that maps to "iUsageType".
Declaration
public UsageType UsageType { get; set; }
Property Value
Type | Description |
---|---|
UsageType |
UseLoadBalancing
Gets or sets a value that maps to "bUseLoadBalancing".
Declaration
public bool UseLoadBalancing { 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 |