FS-8087 #comment always make one basic call to getusermedia to ensure perms are ok

This commit is contained in:
Anthony Minessale committed 2015-08-28 11:41:02 -05:00
1 parent 0ffa3a5d0b
commit 6831fa7015
3 files changed
+10 -7

No files matched your search

+4 -1
View File
@@ -87,6 +87,7 @@
$.FSRTC.getValidRes(verto.options.deviceParams.useCamera, verto.options.deviceParams.onResCheck);
} else {
verto.options.deviceParams.useCamera = "any";
$.FSRTC.getValidRes(undefined, undefined);
}
if (!verto.options.deviceParams.useMic) {
@@ -2599,7 +2600,9 @@
}
$.verto.init = function(obj, runtime) {
checkDevices(runtime);
$.FSRTC.checkPerms(function() {
checkDevices(runtime);
});
}
$.verto.genUUID = function () {