Skip to content

Commit 48fb184

Browse files
committed
docs: correct Android behavior description for externalCallSystem
On Android the mode currently behaves like automatic, not manual. The Android session configure and speakerphone paths still run, since the activation flag only exists on iOS. This is the intended interim behavior: a cross-platform app sets the mode once and Android keeps normal session management until Telecom integration lands.
1 parent 71c4ad9 commit 48fb184

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

lib/src/audio/audio_session.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ enum AudioSessionManagementMode {
3737
/// with `AudioManager.setEngineAvailability` so the engine only runs inside
3838
/// CallKit's `didActivate`/`didDeactivate` window.
3939
///
40-
/// On Android this currently behaves like [manual]. When Telecom
41-
/// (`androidx.core.telecom`) integration lands, this mode will also stand
42-
/// down LiveKit's audio-focus and routing management, which the Telecom
40+
/// On Android this currently behaves like [automatic], so a cross-platform
41+
/// app can set this mode once at startup: iOS gets the CallKit contract and
42+
/// Android keeps LiveKit's normal session management. When Telecom
43+
/// (`androidx.core.telecom`) integration lands, this mode will stand down
44+
/// LiveKit's audio-focus and routing management, which the Telecom
4345
/// framework owns for registered calls.
4446
externalCallSystem,
4547
}

0 commit comments

Comments
 (0)