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:
@@ -14,6 +14,17 @@ module Streams
|
||||
overlay_dir(session.id).join("overlay.pipe")
|
||||
end
|
||||
|
||||
# Logo chiaro watermark (brand/logo-white-m.png → branding/ in deploy).
|
||||
def brand_logo_path
|
||||
candidates = [
|
||||
Rails.root.join("branding/logo-white-m.png"),
|
||||
Rails.root.join("brand/logo-white-m.png"),
|
||||
Rails.root.join("public/logo-white.png"),
|
||||
Rails.root.join("public/logo.png")
|
||||
]
|
||||
candidates.find(&:file?) || candidates.first
|
||||
end
|
||||
|
||||
def badge_away_color(team)
|
||||
club = team.club
|
||||
candidate = club&.effective_secondary_color.presence || "#1565c0"
|
||||
|
||||
Reference in New Issue
Block a user