feat: show spent time in participant list, fix timer sounds

This commit is contained in:
Mikhail Kiselev
2026-02-10 18:15:18 +03:00
parent 850d1deed2
commit f0a8c32ea2
4 changed files with 70 additions and 12 deletions

View File

@@ -162,7 +162,13 @@
}
}
function playSound(name) {
async function playSound(name) {
// Ensure AudioContext is running (may be suspended after inactivity)
const ctx = getAudioContext()
if (ctx.state === 'suspended') {
await ctx.resume()
}
switch (name) {
case 'warning':
playBeep(880, 0.15)