Skip to main content
nativeInCallAudioMode() Returns the current native in-call audio mode: either 'video' or 'voice'. The audio mode controls automatic audio device selection and routing. 'video' mode prefers the speakerphone when no headset is connected, while 'voice' mode prefers the earpiece.

Return value

Returns DailyNativeInCallAudioMode, which is 'video' | 'voice'.

Example

const mode = call.nativeInCallAudioMode();
console.log('Current audio mode:', mode); // 'video' or 'voice'

See also