/ fm / liveswitch / IMedia
Interface: IMedia<TIAudioTrack, TIVideoTrack>
fm.liveswitch.IMedia
Media interface.
Type parameters
Name | Type |
---|---|
TIAudioTrack |
IAudioTrack |
TIVideoTrack |
IVideoTrack |
Hierarchy
IMedia
Implemented by
Table of contents
Methods
- addOnAudioDestroyed
- addOnAudioLevel
- addOnVideoDestroyed
- addOnVideoSize
- addOnVideoSizeChange
- destroy
- getAudioGain
- getAudioLevelInterval
- getAudioMuted
- getAudioTrack
- getAudioTracks
- getAudioVolume
- getId
- getVideoMuted
- getVideoSize
- getVideoTrack
- getVideoTracks
- grabVideoFrame
- removeOnAudioDestroyed
- removeOnAudioLevel
- removeOnVideoDestroyed
- removeOnVideoSize
- removeOnVideoSizeChange
- setAudioGain
- setAudioLevelInterval
- setAudioMuted
- setAudioVolume
- setId
- setVideoMuted
Methods
addOnAudioDestroyed
▸ addOnAudioDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:9
addOnAudioLevel
▸ addOnAudioLevel(value
: IAction1<number>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<number> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:10
addOnVideoDestroyed
▸ addOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:11
addOnVideoSize
▸ addOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:12
addOnVideoSizeChange
▸ addOnVideoSizeChange(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:13
destroy
▸ destroy(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:14
getAudioGain
▸ getAudioGain(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:15
getAudioLevelInterval
▸ getAudioLevelInterval(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:16
getAudioMuted
▸ getAudioMuted(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:17
getAudioTrack
▸ getAudioTrack(): TIAudioTrack
Returns: TIAudioTrack
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:18
getAudioTracks
▸ getAudioTracks(): TIAudioTrack[]
Returns: TIAudioTrack[]
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:19
getAudioVolume
▸ getAudioVolume(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:20
getId
▸ getId(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:21
getVideoMuted
▸ getVideoMuted(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:22
getVideoSize
▸ getVideoSize(): Size
Returns: Size
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:23
getVideoTrack
▸ getVideoTrack(): TIVideoTrack
Returns: TIVideoTrack
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:24
getVideoTracks
▸ getVideoTracks(): TIVideoTrack[]
Returns: TIVideoTrack[]
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:25
grabVideoFrame
▸ grabVideoFrame(): Future<VideoBuffer>
Returns: Future<VideoBuffer>
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:26
removeOnAudioDestroyed
▸ removeOnAudioDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:27
removeOnAudioLevel
▸ removeOnAudioLevel(value
: IAction1<number>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<number> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:28
removeOnVideoDestroyed
▸ removeOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:29
removeOnVideoSize
▸ removeOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:30
removeOnVideoSizeChange
▸ removeOnVideoSizeChange(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:31
setAudioGain
▸ setAudioGain(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:32
setAudioLevelInterval
▸ setAudioLevelInterval(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:33
setAudioMuted
▸ setAudioMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:34
setAudioVolume
▸ setAudioVolume(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:35
setId
▸ setId(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:36
setVideoMuted
▸ setVideoMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:37