Class MediaConfig<TConfig>
A media configuration.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class MediaConfig<TConfig> : object where TConfig : MediaConfig<TConfig>
Type Parameters
Name | Description |
---|---|
TConfig |
Constructors
MediaConfig(Int32)
Initializes a new instance of the MediaConfig<TConfig> class.
Declaration
public MediaConfig(int clockRate)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | clockRate | The clock rate. |
Properties
ClockRate
Gets the clock rate.
Declaration
public int ClockRate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
IsEquivalent(TConfig)
Determines whether the specified configuration is equivalent.
Declaration
public virtual bool IsEquivalent(TConfig config)
Parameters
Type | Name | Description |
---|---|---|
TConfig | config | The configuration. |
Returns
Type | Description |
---|---|
System.Boolean |