Properties
Readonly
onDeviceChange
onDeviceChange: Event<{ device: MediaDevice; state: "added" | "removed"; }> = ... Type declaration
device: MediaDevice
state: "added" | "removed"
Methods
createCustomVideoStream
- createCustomVideoStream(processor, options?): Promise<LocalCustomVideoStream>
Parameters
- processor: VideoStreamProcessor
- options: {
constraints?: MediaTrackConstraints;
stopTrackWhenDisabled?: boolean;
} = {}Optional
constraints?: MediaTrackConstraints
Optional
stopTrackWhenDisabled?: boolean
createDisplayStreams
- createDisplayStreams<T>(options?): Promise<{
audio: T extends {
audio: U;
}
? U extends undefined | null | false
? undefined
: undefined | LocalAudioStream
: undefined;
video: LocalVideoStream;
}> Returns Promise<{
audio: T extends {
audio: U;
}
? U extends undefined | null | false
? undefined
: undefined | LocalAudioStream
: undefined;
video: LocalVideoStream;
}>
createMicrophoneAudioAndCameraStream
createMicrophoneAudioStream
enumerateDevices
- enumerateDevices(): Promise<MediaDevice[]>
Returns Promise<MediaDevice[]>
enumerateInputAudioDevices
- enumerateInputAudioDevices(): Promise<MediaDevice[]>
Returns Promise<MediaDevice[]>
enumerateInputVideoDevices
- enumerateInputVideoDevices(): Promise<MediaDevice[]>
Returns Promise<MediaDevice[]>
enumerateOutputAudioDevices
- enumerateOutputAudioDevices(): Promise<MediaDevice[]>
Returns Promise<MediaDevice[]>
Description
[japanese] 一度参照した種類のデバイスの状態が変化した時に発火するイベント