Skip to main content

DeviceDisconnectionBehavior

@siteed/audio-studio


@siteed/audio-studio / DeviceDisconnectionBehavior

Variable: DeviceDisconnectionBehavior

const DeviceDisconnectionBehavior: object

Defined in: src/AudioStudio.types.ts:336

Defines how recording should behave when a device becomes unavailable

Type declaration​

FALLBACK​

readonly FALLBACK: "fallback" = 'fallback'

Switch to default device and continue recording

PAUSE​

readonly PAUSE: "pause" = 'pause'

Pause recording when device disconnects