feat(voice): harden Android audio and channel joins

This commit is contained in:
Edison Jwa
2026-05-19 01:58:07 +09:00
parent 29a553d4e1
commit 8c253f1d4d
23 changed files with 2948 additions and 363 deletions
@@ -353,9 +353,9 @@ class _VoiceSheetBodyState extends State<_VoiceSheetBody> {
final levelActive = stats?.pttActive ?? false;
final isPtt = _mode == rust.BridgeTransmitMode.ptt;
// Route picker only meaningful on iOS + Android where the OS
// owns audio routing. Desktop hosts skip the tile entirely.
final showRoutePicker = !kIsWeb && (Platform.isIOS || Platform.isAndroid);
// Route picker is iOS-only; the picker uses AVAudioSession-backed
// widgets that must not be constructed on Android.
final showRoutePicker = !kIsWeb && Platform.isIOS;
return SafeArea(
child: SingleChildScrollView(