diff --git a/README.md b/README.md index 12a4f34..059fcff 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,14 @@ services: # - /dev/dri:/dev/dri # Uncomment for Intel/AMD (vaapi or qsv) environment: TZ: America/Sao_Paulo - # FFMPEG_HWACCEL: nvenc # GPU encoding: nvenc (NVIDIA), vaapi (Intel/AMD), qsv (Intel QSV) / Requires: nvenc → gpus: all | vaapi/qsv → devices: /dev/dri - # LD_LIBRARY_PATH: /usr/lib/wsl/lib # WSL2 + nvenc only: injects NVENC libs not auto-mounted by Docker - # AUTH_USER: admin # Se definido (junto com AUTH_PASS), habilita login + # AUTH_USER: admin # If set (with AUTH_PASS), enables login # AUTH_PASS: secure_password + DEFAULT_PURE_MODE: false # Pure mode: raw .m3u8 / minimal player (no UI chrome) + DEFAULT_OPEN_NEW_TAB: false # Open player buttons in a new tab + DEFAULT_RELOAD_CLIENT: false # Auto-reload the client player page + DEFAULT_RELOAD_CLIENT_TIME: 2 # Client auto-reload interval in minutes + # FFMPEG_HWACCEL: nvenc # GPU encoding: nvenc (NVIDIA), vaapi / qsv (Intel/AMD) + # LD_LIBRARY_PATH: /usr/lib/wsl/lib # WSL2 + nvenc only ports: - "3000:3000" # Web UI — main entry point - "127.0.0.1:6080:6080" # VNC — localhost only; remote access via tunnel/VPN diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 29da25b..76f90b3 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -11,19 +11,23 @@ services: # - /dev/dri:/dev/dri # Uncomment for Intel/AMD (vaapi or qsv) environment: TZ: America/Sao_Paulo - # FFMPEG_HWACCEL: nvenc # GPU encoding: nvenc (NVIDIA), vaapi (Intel/AMD), qsv (Intel QSV) / Requires: nvenc → gpus: all | vaapi/qsv → devices: /dev/dri - # LD_LIBRARY_PATH: /usr/lib/wsl/lib # WSL2 + nvenc only: injects NVENC libs not auto-mounted by Docker - # AUTH_USER: admin # Se definido (junto com AUTH_PASS), habilita login + # AUTH_USER: admin # If set (with AUTH_PASS), enables login # AUTH_PASS: secure_password + DEFAULT_PURE_MODE: false # Pure mode: raw .m3u8 / minimal player (no UI chrome) + DEFAULT_OPEN_NEW_TAB: false # Open player buttons in a new tab + DEFAULT_RELOAD_CLIENT: false # Auto-reload the client player page + DEFAULT_RELOAD_CLIENT_TIME: 2 # Client auto-reload interval in minutes + # FFMPEG_HWACCEL: nvenc # GPU encoding: nvenc (NVIDIA), vaapi / qsv (Intel/AMD) + # LD_LIBRARY_PATH: /usr/lib/wsl/lib # WSL2 + nvenc only ports: - "3000:3000" # Web UI — main entry point - - "127.0.0.1:6080:6080" # VNC — localhost only; remote access via tunnel/VPN - # - "1935:1935" # RTMP — internal only; expose only for external ingest (e.g. OBS) + - "127.0.0.1:6080:6080" # noVNC — localhost only; expose via tunnel/VPN for remote access + # - "1935:1935" # RTMP — expose only for external ingest (e.g. OBS) # - "8888:8888" # HLS — internal only; proxied through Next.js at /api/hls/ volumes: - - streams:/app/data/streams # Persistent: streams.json, chrome profiles, thumbs + - streams:/app/data/streams # Persistent: streams.json, chrome profiles, thumbnails + # - ./logs:/app/data/logs # Optional: mount for external log access # - /usr/lib/wsl/lib:/usr/lib/wsl/lib:ro # WSL2 + nvenc: exposes libnvidia-encode.so.1 - # - logs:/app/data/logs # Optional volumes: - streams: \ No newline at end of file + streams: diff --git a/public/player.html b/public/player.html index f299ac6..a6e971a 100644 --- a/public/player.html +++ b/public/player.html @@ -2,10 +2,11 @@
+ - +