upstream sync

This commit is contained in:
Senad Uka
2020-07-22 19:14:34 +00:00
parent cd0de9154c
commit 8f13589c55
10 changed files with 68 additions and 11284 deletions

View File

@@ -30,6 +30,10 @@ class Broadcast < ApplicationRecord
"https://stream.mux.com/#{stream_playback_uid}.m3u8"
end
def full_live_stream_playback_url
full_live_stream_playback_uid.blank? ? stream_playback_url : "https://stream.mux.com/#{full_live_stream_playback_uid}.m3u8"
end
def stream_server_url
ENV['MUX_BROADCAST_SERVER_URL']
end