- Preparing search index...
- The search index is not available
live-js
Methods
fetchMediaDevices
- fetchMediaDevices(): Promise<{ audioinput: InputDeviceInfo[]; audiooutput: MediaDeviceInfo[]; videoinput: InputDeviceInfo[] }>
-
Returns Promise<{ audioinput: InputDeviceInfo[]; audiooutput: MediaDeviceInfo[]; videoinput: InputDeviceInfo[] }>
getAvailableAudioInputDevices
- getAvailableAudioInputDevices(): InputDeviceInfo[]
-
Returns InputDeviceInfo[]
getAvailableAudioOutputDevices
- getAvailableAudioOutputDevices(): MediaDeviceInfo[]
-
Returns MediaDeviceInfo[]
getAvailableVideoInputDevices
- getAvailableVideoInputDevices(): InputDeviceInfo[]
-
Returns InputDeviceInfo[]
getCurrentAudioInputDevice
- getCurrentAudioInputDevice(): InputDeviceInfo
-
Returns InputDeviceInfo
getCurrentAudioOutputDevice
- getCurrentAudioOutputDevice(): MediaDeviceInfo
-
Returns MediaDeviceInfo
getCurrentVideoInputDevice
- getCurrentVideoInputDevice(): InputDeviceInfo
-
Returns InputDeviceInfo
getMediaConstraints
- getMediaConstraints(__namedParameters: { usingAudio: boolean; usingVideo: boolean }): Promise<MediaStreamConstraints>
-
Parameters
-
__namedParameters: { usingAudio: boolean; usingVideo: boolean }
-
usingAudio: boolean
-
usingVideo: boolean
Returns Promise<MediaStreamConstraints>
refreshMediaDevices
- refreshMediaDevices(__namedParameters: { audio?: boolean; video?: boolean }, skipUpdateStream?: boolean): Promise<void>
-
Parameters
-
__namedParameters: { audio?: boolean; video?: boolean }
-
Optional
audio?: boolean
-
Optional
video?: boolean
-
skipUpdateStream: boolean = false
Returns Promise<void>
removeAllSendBirdCallListener
- removeAllSendBirdCallListener(): void
-
Returns void
removeSendBirdCallListener
- removeSendBirdCallListener(id: string): void
-
Returns void
selectDevice
- selectDevice(kind: MediaDeviceKind, mediaDeviceInfo: InputDeviceInfo | MediaDeviceInfo): void
-
Parameters
-
kind: MediaDeviceKind
-
mediaDeviceInfo: InputDeviceInfo | MediaDeviceInfo
Returns void