fix MR comments

This commit is contained in:
Bilal
2020-07-21 16:26:02 +02:00
parent 209da288dc
commit 7089bef0d3

View File

@@ -31,9 +31,7 @@ class Broadcast < ApplicationRecord
end
def full_live_stream_playback_url
return stream_playback_url if full_live_stream_playback_uid.blank?
"https://stream.mux.com/#{full_live_stream_playback_uid}.m3u8"
full_live_stream_playback_uid.blank? ? stream_playback_url : "https://stream.mux.com/#{full_live_stream_playback_uid}.m3u8"
end
def stream_server_url