fix: clarify voice connection readiness
This commit is contained in:
1 parent
16aadcae96
commit
dac9d195ec
1 file changed
+1
-5
+1
-5
@@ -518,10 +518,6 @@ document.addEventListener("keydown", (event) => {
|
|||||||
if (settingsSheet.classList.contains("open")) closeSheet();
|
if (settingsSheet.classList.contains("open")) closeSheet();
|
||||||
if (tasksPanel.classList.contains("open")) setTasksOpen(false);
|
if (tasksPanel.classList.contains("open")) setTasksOpen(false);
|
||||||
});
|
});
|
||||||
document.addEventListener("keydown", (e) => {
|
|
||||||
if (e.key === "Escape") closeSheet();
|
|
||||||
});
|
|
||||||
|
|
||||||
// ── Wake lock ───────────────────────────────────────────────────────────────
|
// ── Wake lock ───────────────────────────────────────────────────────────────
|
||||||
async function acquireWakeLock() {
|
async function acquireWakeLock() {
|
||||||
try {
|
try {
|
||||||
@@ -562,7 +558,7 @@ function findAgent(rm) {
|
|||||||
|
|
||||||
function markAgentFound(rm, participant) {
|
function markAgentFound(rm, participant) {
|
||||||
agentParticipant = participant;
|
agentParticipant = participant;
|
||||||
statusEl.textContent = "Secure room · Microphone on";
|
statusEl.textContent = "Hope joined · Preparing microphone…";
|
||||||
// Send current voice selection to the agent
|
// Send current voice selection to the agent
|
||||||
sendVoiceMessage(currentVoiceId(), rm);
|
sendVoiceMessage(currentVoiceId(), rm);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user