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:
2026-06-06 15:30:55 +02:00
parent 1058c644bd
commit 854738b46d
65 changed files with 2606 additions and 579 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# APK release per telefono → API produzione
set -euo pipefail
export PATH="${HOME}/flutter/bin:${PATH}"
API_BASE_URL="${API_BASE_URL:-https://www.matchlivetv.it}"
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT/mobile"
flutter pub get
flutter build apk --release \
--dart-define="API_BASE_URL=${API_BASE_URL}"
echo "APK: mobile/build/app/outputs/flutter-apk/app-release.apk"
echo "API_BASE_URL=${API_BASE_URL}"