YouTube live immediata: relay sempre attivo e attivazione broadcast.

Il relay parte dal job overlay ogni 2s; scheduledStartTime ~90s invece di 5 min;
transition testing/live quando l'ingest RTMP raggiunge YouTube.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-04 08:19:20 +02:00
parent 2ccbfea75e
commit 2c5f4f82eb
6 changed files with 51 additions and 5 deletions

View File

@@ -26,6 +26,9 @@ class OverlayRefreshJob < ApplicationJob
return self.class.cancel_chain(session_id) unless Streams::OverlayRelay.running?(session_id)
Streams::Overlay::Refresh.call(session)
if session.platform == "youtube"
Streams::YoutubeRelay.ensure_publishing!(session)
end
self.class.set(wait: INTERVAL).perform_later(session_id)
end
end