FS-7509: add some vid test js functions

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:26 -05:00
1 parent 66f9f985a8
commit 459f5b347a
3 files changed
+95 -6

No files matched your search

+7 -1
View File
@@ -2146,7 +2146,13 @@
$.verto.findDevices = function(runtime) {
var aud = [], vid = [];
$.FSRTC.checkPerms();
setTimeout(function() {
$.FSRTC.getValidRes(null);
}, 2000);
MediaStreamTrack.getSources(function (media_sources) {
for (var i = 0; i < media_sources.length; i++) {