Camera: fall back to plain constraints, explain a silent refusal; show voice failures above the chat

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 00:28:08 +02:00
co-authored by Claude Opus 5.5
parent 2700a4ec3d
commit 6368e63b0e
3 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class VoiceEngine {
this.error = '';
try {
if (typeof AudioEncoder === 'undefined' || !(await AudioEncoder.isConfigSupported(this.encoderConfig())).supported) {
throw new Error('This system cannot encode Opus audio');
throw new Error('This browser cannot encode Opus audio (WebCodecs is missing), so you cannot talk or hear others here. Chromium-based browsers and the desktop app can.');
}
const ctx = new AudioContext({ sampleRate: SAMPLE_RATE, latencyHint: 'interactive' });
this.ctx = ctx;