Skip to main content

DeviceDisconnectionBehavior

@siteed/expo-audio-studio


@siteed/expo-audio-studio / DeviceDisconnectionBehavior

Variable: DeviceDisconnectionBehavior

const DeviceDisconnectionBehavior: object

Defined in: src/ExpoAudioStream.types.ts:283

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