From e9b9d3c1215a1f10a21510fd86d6bb458596730f Mon Sep 17 00:00:00 2001 From: sravan Date: Tue, 21 Jul 2026 23:26:13 +0530 Subject: [PATCH] feat(ios calls): drop unreachable earpiece from route toggle; Speaker <-> BT/headset Proven via device telemetry: inside a WKWebView, WebKit owns the WebRTC audio unit and forces the loudspeaker; overrideOutputAudioPort(.none) is a no-op (route settles on Speaker 1.2s later), so the built-in earpiece cannot be selected. Present only what actually works on iOS: Speaker, and Bluetooth/wired headset when connected. bzApplyRoute now maps only 'speaker' to the loudspeaker override; bt/headset use the default port. Coerce any stale 'earpiece' pref to speaker on iOS. Also strips the route debug telemetry. Other platforms keep the earpiece option. build batch147. Co-Authored-By: Claude Opus 4.8 --- server/public/home.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/server/public/home.html b/server/public/home.html index 4a81907..f8f66fe 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -1158,7 +1158,7 @@ -