Stabilizza live YouTube/RTMP e fix crash rotazione mobile.
Pipeline YouTube con relay, overlay e publisher sync lato backend; fix GL pauseGlDuringRotation su Android per evitare crash in rotazione durante lo streaming Flutter. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -142,8 +142,20 @@ services:
|
||||
YOUTUBE_CLIENT_SECRET: ${YOUTUBE_CLIENT_SECRET:-}
|
||||
YOUTUBE_REDIRECT_URI: ${YOUTUBE_REDIRECT_URI:-}
|
||||
YOUTUBE_PLATFORM_REFRESH_TOKEN: ${YOUTUBE_PLATFORM_REFRESH_TOKEN:-}
|
||||
YOUTUBE_RELAY_WORKER: "1"
|
||||
RAILS_INTERNAL_URL: http://rails:3000
|
||||
MEDIAMTX_HLS_URL: http://mediamtx:8888
|
||||
MEDIAMTX_INTERNAL_RTMP_URL: rtmp://mediamtx:1935
|
||||
HLS_PUBLIC_URL: ${HLS_PUBLIC_URL:-http://localhost:8888}
|
||||
APP_PUBLIC_URL: ${APP_PUBLIC_URL:-http://localhost:3000}
|
||||
MAILER_FROM: ${MAILER_FROM:-Match Live TV <noreply@matchlive.it>}
|
||||
SMTP_ADDRESS: ${SMTP_ADDRESS:-}
|
||||
SMTP_PORT: ${SMTP_PORT:-587}
|
||||
SMTP_USERNAME: ${SMTP_USERNAME:-}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD:-}
|
||||
SMTP_AUTH: ${SMTP_AUTH:-plain}
|
||||
SMTP_STARTTLS: ${SMTP_STARTTLS:-true}
|
||||
RAILS_LOG_LEVEL: ${RAILS_LOG_LEVEL:-info}
|
||||
RECORDINGS_PATH: /recordings
|
||||
REPLAY_STORAGE_ENDPOINT: ${REPLAY_STORAGE_ENDPOINT:-}
|
||||
REPLAY_STORAGE_BUCKET: ${REPLAY_STORAGE_BUCKET:-matchlivetv-replays}
|
||||
@@ -151,7 +163,7 @@ services:
|
||||
REPLAY_STORAGE_ACCESS_KEY_ID: ${REPLAY_STORAGE_ACCESS_KEY_ID:-}
|
||||
REPLAY_STORAGE_SECRET_ACCESS_KEY: ${REPLAY_STORAGE_SECRET_ACCESS_KEY:-}
|
||||
REPLAY_STORAGE_FORCE_PATH_STYLE: ${REPLAY_STORAGE_FORCE_PATH_STYLE:-true}
|
||||
OVERLAY_RELAY_PROCESS_CHECK: "false"
|
||||
OVERLAY_RELAY_PROCESS_CHECK: "true"
|
||||
depends_on:
|
||||
rails:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -22,6 +22,8 @@ rtmpAddress: :1935
|
||||
hls: yes
|
||||
hlsAddress: :8888
|
||||
hlsVariant: mpegts
|
||||
rtsp: yes
|
||||
rtspAddress: :8554
|
||||
# Allineato a slate (1s) e camera; evita salti 1s→6s che glitchano HLS.js
|
||||
hlsSegmentDuration: 1s
|
||||
hlsSegmentMaxSize: 50M
|
||||
|
||||
Reference in New Issue
Block a user