Class MediaConfig<TConfig>
A media configuration.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class MediaConfig<TConfig>
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 |