- Preparing search index...
- The search index is not available
live-js
Accessors
mediaView
- get mediaView(): HTMLMediaElement
-
Returns HTMLMediaElement
- set mediaView(mediaView: HTMLMediaElement): void
-
Parameters
-
mediaView: HTMLMediaElement
Returns void
Methods
attach
- attach(to: string): void
-
Returns void
chooseMediaDevice
- chooseMediaDevice(kind: MediaDeviceKind, mediaDeviceInfo: InputDeviceInfo | MediaDeviceInfo): void
-
Parameters
-
kind: MediaDeviceKind
-
mediaDeviceInfo: InputDeviceInfo | MediaDeviceInfo
Returns void
closeStream
- closeStream(needRelease?: boolean): void
-
Parameters
-
Optional
needRelease: boolean
Returns void
openStream
- openStream(): void
-
Returns void
toggleAudio
- toggleAudio(enabled: boolean): void
-
Returns void
toggleVideo
- toggleVideo(enabled: boolean): void
-
Returns void