/ fm / liveswitch / MediaConfig
Class: MediaConfig<TConfig>
fm.liveswitch.MediaConfig
A media configuration.
Type parameters
Name | Type |
---|---|
TConfig |
MediaConfig<TConfig> |
Hierarchy
MediaConfig
Table of contents
Constructors
Methods
Constructors
constructor
+ new MediaConfig<TConfig>(clockRate
: number): MediaConfig<TConfig>
Initializes a new instance of the [[fm.liveswitch.mediaConfig]] class.
Type parameters:
Name | Type |
---|---|
TConfig |
MediaConfig<TConfig, TConfig> |
Parameters:
Name | Type | Description |
---|---|---|
clockRate |
number | The clock rate. |
Returns: MediaConfig<TConfig>
Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:18
Methods
fmliveswitchMediaConfigInit
▸ Private
fmliveswitchMediaConfigInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:15
getClockRate
▸ getClockRate(): number
Gets the clock rate.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:44
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:9
isEquivalent
▸ isEquivalent(config
: TConfig): boolean
Determines whether the specified configuration is equivalent.
Parameters:
Name | Type | Description |
---|---|---|
config |
TConfig | The configuration. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:57