diff --git a/clean-look.css b/clean-look.css new file mode 100644 index 0000000..390c8e2 --- /dev/null +++ b/clean-look.css @@ -0,0 +1,31 @@ +/* Nur die Steuerungselemente ausblenden */ +#buttonsBar, +#chatModule, +#settingsModule, +.left-header, +.right-header, +#msger, +.status-info { + display: none !important; +} + +/* DAS VIDEO EXPLIZIT SICHTBAR MACHEN */ +#videoGrid, +.video-container, +video { + display: block !important; + visibility: visible !important; + width: 100vw !important; + height: 100vh !important; + object-fit: cover !important; + position: fixed !important; + top: 0 !important; + left: 0 !important; + z-index: 1 !important; +} + +/* Verstecke nur die Overlays auf dem Video */ +.video-name, +.video-status-icon { + display: none !important; +} diff --git a/config.js b/config.js new file mode 100644 index 0000000..513673f --- /dev/null +++ b/config.js @@ -0,0 +1,12 @@ +module.exports = { + // Erzwinge den Start ohne User-Interaktion (soweit möglich) + defaultVideoOff: false, + defaultAudioOff: false, + mediaType: { + audio: true, + video: { + width: { ideal: 640 }, + height: { ideal: 480 }, + }, + }, +}; diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0486679 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + mirotalk: + image: mirotalk/p2p:latest + # ... restliche config ... + volumes: + # Wir überschreiben die client.css im public Ordner + - ./clean-look.css:/src/app/public/css/client.css + # Und wir stellen sicher, dass die Config für die Kamera-Auflösung geladen wird + - ./config.js:/src/app/src/config.js