disable legacy video system

This commit is contained in:
Nuwan 2023-02-24 23:23:10 +05:30
parent aa3ac642da
commit dd0e24fa19
3 changed files with 8 additions and 3 deletions

View File

@ -9,7 +9,8 @@ rest = context.JK.Rest()
]
useVideoConferencingServer: () ->
context.SessionStore.currentSession.use_video_conferencing_server
#context.SessionStore.currentSession.use_video_conferencing_server
true
onUserChanged: (userState) ->
@setState({user: userState?.user})

View File

@ -22,7 +22,10 @@
<div class="session-wrapper">
<div id="session-step-1" class="create-session-wizard" layout-wizard-step="0">
<div class="column column-left">
<h2 style="position:relative">start a session <div id="video-beta">Video System: <select class="easydropdown" id="video-beta-options"><option value="new">BETA (Incompatible with Recording)</option><option value="old">Standard</option></select></div></h2>
<h2 style="position:relative">start a session
<%# <div id="video-beta">Video System: <select class="easydropdown" id="video-beta-options"><option value="new">BETA (Incompatible with Recording)</option><option value="old">Standard</option></select>
</div> %>
</h2>
<div class="quick-options">
<div class="quick-option"><a class="button-orange quick-start-solo" href="#" >QUICK START PRIVATE</a><p>Quick start a private session now. Good for solo practice. Or invite specific friends to join you.</p></div>
<div class="quick-option"><a class="button-orange quick-start-open" href="#" >QUICK START PUBLIC</a><p>Quick start an open session that anyone can join. Good for meeting others, spontaneous jams.</p></div>

View File

@ -50,7 +50,8 @@ describe "Music session video button", :js => true, :type => :feature, :capybara
end
describe "user has NOT opted for video conferencing server" do
#NOTE: skip this test - we have fixed to use video conferencing server always
xdescribe "user has NOT opted for video conferencing server" do
before do
user.use_video_conferencing_server = false
user.save!