Skip to content

Function: restoreAudioSession()

ts
function restoreAudioSession(): void;

Defined in: Calls.ts:259

Restores the audio session to its pre-call configuration.

Call this if a call fails to start after prepareAudioSessionForCall was called, or to manually restore the audio session. This is called automatically when the audio session is deactivated after a call ends.

Returns

void

See

prepareAudioSessionForCall — the matching setup call.

Released under the MIT License.