* check for video enabled better
This commit is contained in:
parent
b483dd537f
commit
3976707b14
|
|
@ -394,7 +394,7 @@
|
|||
|
||||
if (success) {
|
||||
|
||||
if(window.VideoStore.videoEnabled) {
|
||||
if(window.VideoStore.isVideoEnabled()) {
|
||||
startVideoTest();
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ BackendToFrontendFPS = {
|
|||
|
||||
videoEnabled = context.jamClient.FTUEGetVideoShareEnable()
|
||||
|
||||
@videoEnabled = videoEnabled
|
||||
|
||||
if videoEnabled
|
||||
currentDevice = context.jamClient.FTUECurrentSelectedVideoDevice()
|
||||
deviceNames = context.jamClient.FTUEGetVideoCaptureDeviceNames()
|
||||
|
|
@ -238,5 +240,9 @@ BackendToFrontendFPS = {
|
|||
if shouldShow
|
||||
@configureWindow = window.open("/popups/configure-video", 'Configure Video', 'scrollbars=yes,toolbar=no,status=no,height=395,width=444')
|
||||
)
|
||||
|
||||
isVideoEnabled:() ->
|
||||
return @videoEnabled
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue