Fix: Stream-Link Auto-Join Race Condition + Autoplay

- remoteStreamRef speichert MediaStream aus ontrack, damit er nicht
  verloren geht wenn das <video>-Element noch nicht gemountet ist
- useEffect verbindet Stream mit Video sobald beides bereit ist
- Explizites play() mit Mute-Fallback bei Autoplay-Blockierung
  (neuer Tab ohne User-Interaktion, z.B. Discord-Link)
- Debug-Logging aus Notification-Config entfernt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-08 20:48:21 +01:00
parent bc6ec39dfd
commit 1c674191c9
2 changed files with 33 additions and 4 deletions

View file

@ -224,7 +224,6 @@ const notificationsPlugin: Plugin = {
// Save config
app.post('/api/notifications/config', requireAdmin, (req, res) => {
console.log(`${NB} Save request body:`, JSON.stringify(req.body));
const { channels } = req.body ?? {};
if (!Array.isArray(channels)) { res.status(400).json({ error: 'channels array erforderlich' }); return; }
// Validate each channel config