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:
@@ -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 */ } }
|
||||
|
||||
Reference in New Issue
Block a user