/ fm / liveswitch / IInternalLocalMedia
Interface: IInternalLocalMedia
fm.liveswitch.IInternalLocalMedia
Hierarchy
ILocalMedia<IInternalLocalMedia, IInternalAudioTrack, IInternalVideoTrack>
IViewSinkableMedia<HTMLElement, IInternalDomVideoSink>
-
↳ IInternalLocalMedia
Implemented by
Table of contents
Methods
- addOnAudioDestroyed
- addOnAudioLevel
- addOnAudioMuted
- addOnAudioStarted
- addOnAudioStopped
- addOnAudioUnmuted
- addOnVideoDestroyed
- addOnVideoMuted
- addOnVideoSize
- addOnVideoSizeChange
- addOnVideoStarted
- addOnVideoStopped
- addOnVideoUnmuted
- changeAudioSourceInput
- changeVideoSourceInput
- destroy
- getAudioEncoding
- getAudioEncodings
- getAudioGain
- getAudioLevelInterval
- getAudioMuted
- getAudioSimulcastDisabled
- getAudioSimulcastEncodingCount
- getAudioSimulcastPreferredBitrate
- getAudioSink
- getAudioSourceInput
- getAudioSourceInputs
- getAudioTrack
- getAudioTracks
- getAudioVolume
- getId
- getState
- getVideoEncoding
- getVideoEncodings
- getVideoMuted
- getVideoSimulcastBitsPerPixel
- getVideoSimulcastDegradationPreference
- getVideoSimulcastDisabled
- getVideoSimulcastEncodingCount
- getVideoSimulcastPreferredBitrate
- getVideoSink
- getVideoSize
- getVideoSourceInput
- getVideoSourceInputs
- getVideoTrack
- getVideoTracks
- getView
- getViewSink
- grabVideoFrame
- removeOnAudioDestroyed
- removeOnAudioLevel
- removeOnAudioMuted
- removeOnAudioStarted
- removeOnAudioStopped
- removeOnAudioUnmuted
- removeOnVideoDestroyed
- removeOnVideoMuted
- removeOnVideoSize
- removeOnVideoSizeChange
- removeOnVideoStarted
- removeOnVideoStopped
- removeOnVideoUnmuted
- setAudioEncodings
- setAudioGain
- setAudioLevelInterval
- setAudioMuted
- setAudioSimulcastDisabled
- setAudioSimulcastEncodingCount
- setAudioSimulcastPreferredBitrate
- setAudioSourceInput
- setAudioVolume
- setId
- setVideoEncodings
- setVideoMuted
- setVideoSimulcastBitsPerPixel
- setVideoSimulcastDegradationPreference
- setVideoSimulcastDisabled
- setVideoSimulcastEncodingCount
- setVideoSimulcastPreferredBitrate
- setVideoSourceInput
- start
- stop
Methods
addOnAudioDestroyed
▸ addOnAudioDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IInternalMedia
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: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:10
addOnAudioMuted
▸ addOnAudioMuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:9
addOnAudioStarted
▸ addOnAudioStarted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:10
addOnAudioStopped
▸ addOnAudioStopped(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:11
addOnAudioUnmuted
▸ addOnAudioUnmuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:12
addOnVideoDestroyed
▸ addOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:11
addOnVideoMuted
▸ addOnVideoMuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:13
addOnVideoSize
▸ addOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IInternalMedia
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: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:13
addOnVideoStarted
▸ addOnVideoStarted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:14
addOnVideoStopped
▸ addOnVideoStopped(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:15
addOnVideoUnmuted
▸ addOnVideoUnmuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:16
changeAudioSourceInput
▸ changeAudioSourceInput(audioSourceInput
: SourceInput): Future<Object>
Parameters:
Name | Type |
---|---|
audioSourceInput |
SourceInput |
Returns: Future<Object>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:17
changeVideoSourceInput
▸ changeVideoSourceInput(videoSourceInput
: SourceInput): Future<Object>
Parameters:
Name | Type |
---|---|
videoSourceInput |
SourceInput |
Returns: Future<Object>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:18
destroy
▸ destroy(): void
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:14
getAudioEncoding
▸ getAudioEncoding(): AudioEncodingConfig
Returns: AudioEncodingConfig
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:19
getAudioEncodings
▸ getAudioEncodings(): AudioEncodingConfig[]
Returns: AudioEncodingConfig[]
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:20
getAudioGain
▸ getAudioGain(): number
Returns: number
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:15
getAudioLevelInterval
▸ getAudioLevelInterval(): number
Returns: number
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:16
getAudioMuted
▸ getAudioMuted(): boolean
Returns: boolean
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:17
getAudioSimulcastDisabled
▸ getAudioSimulcastDisabled(): boolean
Returns: boolean
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:21
getAudioSimulcastEncodingCount
▸ getAudioSimulcastEncodingCount(): number
Returns: number
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:22
getAudioSimulcastPreferredBitrate
▸ getAudioSimulcastPreferredBitrate(): number
Returns: number
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:23
getAudioSink
▸ getAudioSink(): IInternalDomAudioSink
Returns: IInternalDomAudioSink
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IInternalMedia.ts:3
getAudioSourceInput
▸ getAudioSourceInput(): SourceInput
Returns: SourceInput
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:24
getAudioSourceInputs
▸ getAudioSourceInputs(): Future<SourceInput[]>
Returns: Future<SourceInput[]>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:25
getAudioTrack
▸ getAudioTrack(): IInternalAudioTrack
Returns: IInternalAudioTrack
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:18
getAudioTracks
▸ getAudioTracks(): IInternalAudioTrack[]
Returns: IInternalAudioTrack[]
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:19
getAudioVolume
▸ getAudioVolume(): number
Returns: number
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:20
getId
▸ getId(): string
Returns: string
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:21
getState
▸ getState(): LocalMediaState
Returns: LocalMediaState
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:26
getVideoEncoding
▸ getVideoEncoding(): VideoEncodingConfig
Returns: VideoEncodingConfig
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:27
getVideoEncodings
▸ getVideoEncodings(): VideoEncodingConfig[]
Returns: VideoEncodingConfig[]
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:28
getVideoMuted
▸ getVideoMuted(): boolean
Returns: boolean
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:22
getVideoSimulcastBitsPerPixel
▸ getVideoSimulcastBitsPerPixel(): number
Returns: number
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:29
getVideoSimulcastDegradationPreference
▸ getVideoSimulcastDegradationPreference(): VideoDegradationPreference
Returns: VideoDegradationPreference
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:30
getVideoSimulcastDisabled
▸ getVideoSimulcastDisabled(): boolean
Returns: boolean
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:31
getVideoSimulcastEncodingCount
▸ getVideoSimulcastEncodingCount(): number
Returns: number
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:32
getVideoSimulcastPreferredBitrate
▸ getVideoSimulcastPreferredBitrate(): number
Returns: number
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:33
getVideoSink
▸ getVideoSink(): IInternalDomVideoSink
Returns: IInternalDomVideoSink
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IInternalMedia.ts:4
getVideoSize
▸ getVideoSize(): Size
Returns: Size
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:23
getVideoSourceInput
▸ getVideoSourceInput(): SourceInput
Returns: SourceInput
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:34
getVideoSourceInputs
▸ getVideoSourceInputs(): Future<SourceInput[]>
Returns: Future<SourceInput[]>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:35
getVideoTrack
▸ getVideoTrack(): IInternalVideoTrack
Returns: IInternalVideoTrack
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:24
getVideoTracks
▸ getVideoTracks(): IInternalVideoTrack[]
Returns: IInternalVideoTrack[]
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:25
getView
▸ getView(): HTMLElement
Returns: HTMLElement
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IViewableMedia.ts:10
getViewSink
▸ getViewSink(): IInternalDomVideoSink
Returns: IInternalDomVideoSink
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IViewSinkableMedia.ts:9
grabVideoFrame
▸ grabVideoFrame(): Future<VideoBuffer>
Returns: Future<VideoBuffer>
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:26
removeOnAudioDestroyed
▸ removeOnAudioDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IInternalMedia
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: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:28
removeOnAudioMuted
▸ removeOnAudioMuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:36
removeOnAudioStarted
▸ removeOnAudioStarted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:37
removeOnAudioStopped
▸ removeOnAudioStopped(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:38
removeOnAudioUnmuted
▸ removeOnAudioUnmuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:39
removeOnVideoDestroyed
▸ removeOnVideoDestroyed(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:29
removeOnVideoMuted
▸ removeOnVideoMuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:40
removeOnVideoSize
▸ removeOnVideoSize(value
: IAction1<Size>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Size> |
Returns: void
Inherited from: IInternalMedia
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: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:31
removeOnVideoStarted
▸ removeOnVideoStarted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:41
removeOnVideoStopped
▸ removeOnVideoStopped(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:42
removeOnVideoUnmuted
▸ removeOnVideoUnmuted(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:43
setAudioEncodings
▸ setAudioEncodings(value
: AudioEncodingConfig[]): void
Parameters:
Name | Type |
---|---|
value |
AudioEncodingConfig[] |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:44
setAudioGain
▸ setAudioGain(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:32
setAudioLevelInterval
▸ setAudioLevelInterval(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:33
setAudioMuted
▸ setAudioMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:34
setAudioSimulcastDisabled
▸ setAudioSimulcastDisabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:45
setAudioSimulcastEncodingCount
▸ setAudioSimulcastEncodingCount(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:46
setAudioSimulcastPreferredBitrate
▸ setAudioSimulcastPreferredBitrate(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:47
setAudioSourceInput
▸ setAudioSourceInput(value
: SourceInput): void
Parameters:
Name | Type |
---|---|
value |
SourceInput |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:48
setAudioVolume
▸ setAudioVolume(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:35
setId
▸ setId(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:36
setVideoEncodings
▸ setVideoEncodings(value
: VideoEncodingConfig[]): void
Parameters:
Name | Type |
---|---|
value |
VideoEncodingConfig[] |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:49
setVideoMuted
▸ setVideoMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: IInternalMedia
Defined in: Generated/TypeScript/fm.liveswitch/IMedia.ts:37
setVideoSimulcastBitsPerPixel
▸ setVideoSimulcastBitsPerPixel(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:50
setVideoSimulcastDegradationPreference
▸ setVideoSimulcastDegradationPreference(value
: VideoDegradationPreference): void
Parameters:
Name | Type |
---|---|
value |
VideoDegradationPreference |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:51
setVideoSimulcastDisabled
▸ setVideoSimulcastDisabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:52
setVideoSimulcastEncodingCount
▸ setVideoSimulcastEncodingCount(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:53
setVideoSimulcastPreferredBitrate
▸ setVideoSimulcastPreferredBitrate(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:54
setVideoSourceInput
▸ setVideoSourceInput(value
: SourceInput): void
Parameters:
Name | Type |
---|---|
value |
SourceInput |
Returns: void
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:55
start
▸ start(): Future<IInternalLocalMedia>
Returns: Future<IInternalLocalMedia>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:56
stop
▸ stop(): Future<IInternalLocalMedia>
Returns: Future<IInternalLocalMedia>
Inherited from: ILocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/ILocalMedia.ts:57