Allow seeking stream backwards to the beginning #58

Closed
bilal.catic wants to merge 6 commits from allow-seeking-stream-backwards-to-the-beginning into master
Showing only changes of commit 7089bef0d3 - Show all commits

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