/ fm / liveswitch / IExternalMedia
Interface: IExternalMedia
fm.liveswitch.IExternalMedia
Hierarchy
IViewSinkableMedia<HTMLElement, IExternalDomVideoSink>
↳ IExternalMedia
Implemented by
Table of contents
Methods
- addOnAudioDestroyed
- addOnAudioLevel
- addOnVideoDestroyed
- addOnVideoSize
- addOnVideoSizeChange
- destroy
- getAudioGain
- getAudioLevelInterval
- getAudioMuted
- getAudioSink
- getAudioTrack
- getAudioTracks
- getAudioVolume
- getId
- getVideoMuted
- getVideoSink
- getVideoSize
- getVideoTrack
- getVideoTracks
- getView
- getViewSink
- 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
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:9
addOnAudioLevel
▸ addOnAudioLevel(value
: IAction1<number>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<number> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:10
addOnVideoDestroyed
▸ addOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:11
addOnVideoSize
▸ addOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:12
addOnVideoSizeChange
▸ addOnVideoSizeChange(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:13
destroy
▸ destroy(): void
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:14
getAudioGain
▸ getAudioGain(): number
Returns: number
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:15
getAudioLevelInterval
▸ getAudioLevelInterval(): number
Returns: number
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:16
getAudioMuted
▸ getAudioMuted(): boolean
Returns: boolean
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:17
getAudioSink
▸ getAudioSink(): IExternalDomAudioSink
Returns: IExternalDomAudioSink
Defined in: Generated/TypeScript/fm.liveswitch/IExternalMedia.ts:3
getAudioTrack
▸ getAudioTrack(): IExternalAudioTrack
Returns: IExternalAudioTrack
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:18
getAudioTracks
▸ getAudioTracks(): IExternalAudioTrack[]
Returns: IExternalAudioTrack[]
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:19
getAudioVolume
▸ getAudioVolume(): number
Returns: number
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:20
getId
▸ getId(): string
Returns: string
Inherited from: IViewSinkableMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:21
getVideoMuted
▸ getVideoMuted(): boolean
Returns: boolean
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:22
getVideoSink
▸ getVideoSink(): IExternalDomVideoSink
Returns: IExternalDomVideoSink
Defined in: Generated/TypeScript/fm.liveswitch/IExternalMedia.ts:4
getVideoSize
▸ getVideoSize(): Size
Returns: Size
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:23
getVideoTrack
▸ getVideoTrack(): IExternalVideoTrack
Returns: IExternalVideoTrack
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:24
getVideoTracks
▸ getVideoTracks(): IExternalVideoTrack[]
Returns: IExternalVideoTrack[]
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:25
getView
▸ getView(): HTMLElement
Returns: HTMLElement
Inherited from: IViewSinkableMedia
Defined in: Generated/TypeScript/fm.liveswitch/IViewableMedia.ts:10
getViewSink
▸ getViewSink(): IExternalDomVideoSink
Returns: IExternalDomVideoSink
Inherited from: IViewSinkableMedia
Defined in: Generated/TypeScript/fm.liveswitch/IViewSinkableMedia.ts:9
grabVideoFrame
▸ grabVideoFrame(): Future<VideoBuffer>
Returns: Future<VideoBuffer>
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:26
removeOnAudioDestroyed
▸ removeOnAudioDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:27
removeOnAudioLevel
▸ removeOnAudioLevel(value
: IAction1<number>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<number> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:28
removeOnVideoDestroyed
▸ removeOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:29
removeOnVideoSize
▸ removeOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:30
removeOnVideoSizeChange
▸ removeOnVideoSizeChange(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:31
setAudioGain
▸ setAudioGain(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:32
setAudioLevelInterval
▸ setAudioLevelInterval(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:33
setAudioMuted
▸ setAudioMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:34
setAudioVolume
▸ setAudioVolume(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:35
setId
▸ setId(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:36
setVideoMuted
▸ setVideoMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: IMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:37