add dailyco feature flag
This commit is contained in:
@@ -114,7 +114,12 @@ class BroadcastsController < ApplicationController
|
||||
end
|
||||
|
||||
def conference_url_for(broadcast)
|
||||
broadcast.video_conference_url_override.presence || url_for([broadcast.project, broadcast, :live_meeting])
|
||||
if broadcast.video_conference_url_override.present?
|
||||
broadcast.video_conference_url_override
|
||||
else
|
||||
conference_type = ENV['DAILYCO_ENABLED'] == '1' ? :live_meeting : :zoom_meeting
|
||||
url_for([broadcast.project, broadcast, conference_type])
|
||||
end
|
||||
end
|
||||
|
||||
def log_create_analytics
|
||||
|
||||
Reference in New Issue
Block a user