mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
Merge pull request #694 in FS/freeswitch from ~DCOLOMBO/freeswitch:bugfix/FS-8805-verto-communicator-doesn-t-work-with to master
* commit '70b142410bb541e8c71b62f6846233ae56f19c99': FS-8805: sanity check on array FS-8805: sanity check on array
This commit is contained in:
commit
3ef684108c
@ -326,7 +326,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
||||
if (!videoFlag) storage.data.selectedVideo = data.videoDevices[0].id;
|
||||
if (!shareFlag) storage.data.selectedShare = data.shareDevices[0].id;
|
||||
if (!audioFlag) storage.data.selectedAudio = data.audioDevices[0].id;
|
||||
if (!speakerFlag) storage.data.selectedSpeaker = data.speakerDevices[0].id;
|
||||
if (!speakerFlag && data.speakerDevices.length > 0) storage.data.selectedSpeaker = data.speakerDevices[0].id;
|
||||
|
||||
// This means that we cannot use video!
|
||||
if (data.videoDevices.length === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user