AudioInputDevice
Index
Constructors
Methods
Constructors
constructor
new AudioInputDevice(
deviceDescription: MediaDeviceDescription,
options: DeviceOptions,
): AudioInputDevice
Parameters
deviceDescription: MediaDeviceDescription
options: DeviceOptions
Returns AudioInputDevice
Methods
open Device
get Audio Stream
getAudioStream(): undefined | MediaStream
Returns undefined | MediaStream
get Settings
getSettings(): undefined | MediaTrackSettings
Returns undefined | MediaTrackSettings
close Device
closeDevice(): void
Returns void
on
on<Type extends "audiocanplay">(
event: Type,
callback: (args: Events[Type]) => void,
): AudioInputDevice
Type Parameters
- Type extends "audiocanplay"
Returns AudioInputDevice
once
once<Type extends "audiocanplay">(
event: Type,
callback: (args: Events[Type]) => void,
): AudioInputDevice
Type Parameters
- Type extends "audiocanplay"
Returns AudioInputDevice
off
off<Type extends "audiocanplay">(
event: Type,
callback: (args: Events[Type]) => void,
): AudioInputDevice
Type Parameters
- Type extends "audiocanplay"