fix(call): корректный mute, статус прямое/TURN и реавторизация WS

This commit is contained in:
AidarKC
2026-04-22 19:25:52 +03:00
parent a905822515
commit 9a3bc9e488
4 changed files with 186 additions and 28 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ function applyCallState(snapshot) {
const muted = Boolean(snapshot.muted);
muteBtn.dataset.muted = muted ? '1' : '0';
muteBtn.textContent = muted ? 'Микрофон выкл' : 'Микрофон вкл';
muteBtn.textContent = muted ? 'Включить микрофон' : 'Выключить микрофон';
muteBtn.hidden = !snapshot.canMute;
muteBtn.disabled = !snapshot.canMute;