This commit is contained in:
legop3
2026-02-21 13:40:02 -05:00
parent cc92174d79
commit 657189e979
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -323,6 +323,7 @@ export default function VideoTile({
return undefined;
}
const unlock = () => {
if (audioContextRef.current?.state === 'running') return;
logAudio('unlock/gesture');
forceUnlockCompressorAudio();
};
@@ -586,7 +587,7 @@ export default function VideoTile({
target.play().then(() => logAudio('audio/play-ok')).catch((err) => logAudio('audio/play-fail', { error: err?.message }));
}
}
if (['error', 'failed', 'disconnected', 'closed'].includes(nextStatus)) {
if (['error', 'failed'].includes(nextStatus)) {
scheduleAudioRestart();
}
};