fix(web_audio_bridge): ensure client is added only when an active call is present

This commit is contained in:
Ivan
2026-04-23 02:28:26 -05:00
parent 3686bb6b74
commit 15f60a1b4b
+1 -1
View File
@@ -131,10 +131,10 @@ class WebAudioBridge:
def attach_client(self, client):
with self.lock:
self.clients.add(client)
tele = self._tele()
if not tele or not tele.active_call:
return False
self.clients.add(client)
self._ensure_remote_tx(tele)
self._ensure_rx_tee(tele)
return True