Freistellen auf dem Gerät (MediaPipe, Apache 2.0): Hintergrund weich, schwarz oder Mondnacht; wasm nur auf der Saal-Seite; Bremse für zu langsame Geräte

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-05 10:33:39 +01:00
co-authored by Claude Opus 5.5
parent 2fedce4659
commit b1de0ff481
64 changed files with 10571 additions and 840 deletions
+4 -1
View File
@@ -3221,7 +3221,9 @@
/** Was gerade hinausgehen SOLL -- oder `null`, wenn niemand hinsieht. */
function bildSpurJetzt() {
if (!kamerasSichtbar()) return null;
return bildschirmSpur || meinStrom?.getVideoTracks?.()[0] || null;
const kamera = meinStrom?.getVideoTracks?.()[0] || null;
/* Freistellen (freistellen.js): die freigestellte Spur statt der Kamera. */
return bildschirmSpur || window.Freistellen?.spur?.(kamera) || kamera;
}
let bildLaeuftRaus = true;
@@ -3820,6 +3822,7 @@
strom: () => meinStrom,
/* Lautheit (lautheit.js): was gerade als Ton hinausgeht. */
ton: () => tonSpurJetzt(),
bildNeu: () => { if (binSender && bildLaeuftRaus) bildSpurTauschen(bildSpurJetzt()); },
aus: () => {
if (binSender || !meinStrom || lage?.ich?.einladung || lage?.ich?.backstage) return false;
for (const s of meinStrom.getTracks()) { try { s.stop(); } catch { /* war aus */ } }