Medienweiche: Probe-Saal ueber LiveKit (Kamera, Mikro und Spiel gleichzeitig)

Neuplan Stufe 8, Schritte 1-3. server/medienweiche.js gibt kurzlebige
Schluessel aus (HS256, 4 h, Senden nur Regie, je Verbindung eigene
Kennung) und reicht NUR den Signalweg /workspace/lk/rtc an LiveKit
(127.0.0.1:7880) durch; /twirp bleibt zu. Schluessel in
server/.livekit.json (640, gitignore), ohne Datei: "nicht eingerichtet".
workspace/probesaal.html + probesaal.js: parallel zum Saal, der
unveraendert bleibt; Link im Foyer. livekit-client 2.23.0 (Apache-2.0)
in assets/js/fremd mit HERKUNFT.txt; pruef-struktur prueft Herkunft,
Pruefsumme und Uebertragungsgroesse (Gegenprobe).
Ende-zu-Ende ueber den echten Server: Regie sendet Kamera+Mikro+Spiel+
Spielton gleichzeitig, Zuschauer empfaengt beide Bilder und beide
Tonspuren, Handy ok, Zuschauer darf nicht senden (insufficient
permissions). Nebenbei: Tippziele Foyer-Link und DogTag-Sprunglink,
pruef-dogtag-seite (Satz umformuliert), pruef-reaktion-stil (6 Knoepfe).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-03 22:27:08 +01:00
co-authored by Claude Opus 5.5
parent 62a7efec7a
commit 0fbf542d5c
68 changed files with 1469 additions and 753 deletions
+4
View File
@@ -284,3 +284,7 @@
}
@media (pointer: coarse) { .dtu-knopf, .dtu-suche input, .dtu-auswahl select { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .dtu-schalter__knopf { transition: none; } }
/* Tippziel (03.11.2026, pruef-handy): Der Sprunglink war 21 Punkte hoch –
am Finger zu klein. Volle 44 Punkte, ohne dass er größer AUSSIEHT. */
#dtp-zur-uebersicht:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; }
+3
View File
@@ -958,3 +958,6 @@ body[data-raum="foyer"][data-stand="live"] .kopf-zeile { --ton: #d8404a;
mehr findet. */
.sg-teil .btn.saal-zocken { margin-top: 4px; }
.saal-zocken[hidden] { display: none; }
/* Der Link zum Probe-Saal (03.11.2026): leise, aber ein volles Tippziel. */
.foyer-probe { align-self: center; min-height: 44px; margin-top: 4px; }
+55
View File
@@ -0,0 +1,55 @@
/* =====================================================================
PROBE-SAAL (03.11.2026) – ruhig, dunkel, im Hausstil (Bausteine aus
stil-bausteine.css). Bewegt wird nichts außer dem Bild selbst.
===================================================================== */
body.sg { margin: 0; min-height: 100vh; }
.probe { max-width: 1280px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; }
.probe__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.probe__titel { flex: 1 1 240px; min-width: 0; }
.probe__titel h1 { margin: 0; font-size: 1.3rem; }
.probe__titel p { margin: 2px 0 0; font-size: .9rem; color: var(--c-leise); }
.probe__buehne { position: relative; }
.probe__leinwand {
position: relative; aspect-ratio: 16 / 9; width: 100%;
background: #05060c; border: 1px solid var(--c-kante); border-radius: 14px; overflow: hidden;
}
.probe__leer {
position: absolute; inset: 0; display: grid; place-items: center; margin: 0;
padding: 24px; text-align: center; color: var(--c-leise); font-size: .95rem;
}
.probe__leer[hidden] { display: none; }
.probe__haupt, .probe__haupt .probe__kachel { position: absolute; inset: 0; }
.probe__haupt video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
/* Die kleinen Kacheln (Kamera beim Zocken): unten rechts im EIGENEN Bild –
kein YouTube-Player, also erlaubt. */
.probe__klein {
position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px;
width: min(42%, 340px); flex-direction: column;
}
.probe__klein .probe__kachel {
position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 12px 30px -12px #000;
}
.probe__klein video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.probe__name {
position: absolute; left: 6px; bottom: 6px; padding: 1px 8px; border-radius: 6px;
background: rgba(6, 6, 12, .78); font-size: .75rem; font-weight: 600; color: var(--c-text);
}
.probe__ton { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); }
.probe__ton[hidden] { display: none; }
.probe__regie, .probe__werte {
background: var(--c-karte); border: 1px solid var(--c-kante); border-radius: 14px; padding: 14px 16px;
}
.probe__regie[hidden] { display: none; }
.probe__regie h2, .probe__werte h2 { margin: 0 0 10px; font-size: 1rem; }
.probe__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.probe__knoepfe .btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--c-blau); }
.probe__hinweis { margin: 10px 0 0; font-size: .85rem; color: var(--c-leise); }
#werte { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; }
#werte div { display: grid; gap: 2px; }
#werte dt { font-size: .75rem; color: var(--c-leise); }
#werte dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
.probe { padding: 10px; }
.probe__klein { width: 46%; right: 8px; bottom: 8px; }
}