Class RedFecConfig
RED Forward error correction (FEC) config. RedFecConfig is for enabling/configuring forward error correction. Forward error correction adds redundancy to the media stream (increased bandwidth) with the intention that media receivers can recover from packet loss without requiring the media server to retransmit anything. It is a last resort for high latency networks. It is disabled by default and not currently supported as it does not have sufficient test coverage.
Inheritance
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class RedFecConfig : object
Constructors
RedFecConfig()
Initializes a new instance of the RedFecConfig class.
Declaration
public RedFecConfig()
Properties
ActivationThreshold
Gets or sets the FEC activation threshold. FEC is activated when the RTCP receiver reports indicate that more than this threshold value of packets were lost (but only if supported by the remote peer); when this value diminishes blow the threshold, FEC is deactivated. The value is denoted in percentage points (between 0 and 100). Affects encoded data only. Defaults to 5.
Declaration
public int ActivationThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Bursty
Gets or sets a value indicating whether to use algorithms tuned for bursty packet loss. Bursty packet loss is more common on wireless networks. Defaults to false on desktop platforms and true on mobile platforms.
Declaration
public bool Bursty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DeltaParameters
Gets or sets the parameters used to protect delta frames.
Declaration
public FecProtectionParameters DeltaParameters { get; set; }
Property Value
Type | Description |
---|---|
FecProtectionParameters |
Disabled
Gets or sets a value indicating whether RED Forward Error Correction (FEC) is disabled.
Declaration
public bool Disabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyFrameParameters
Gets or sets the parameters used to protect key-frames.
Declaration
public FecProtectionParameters KeyFrameParameters { get; set; }
Property Value
Type | Description |
---|---|
FecProtectionParameters |