提交 e701f7ec authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Michael Jerris

FS-7509: nm, this instead

上级 f48289ca
This diff was suppressed by a .gitattributes entry.
...@@ -2144,10 +2144,10 @@ ...@@ -2144,10 +2144,10 @@
$.verto.videoDevices = []; $.verto.videoDevices = [];
$.verto.audioDevices = []; $.verto.audioDevices = [];
$.verto.findDevices = function(runtime) { $.verto.init = function(obj, runtime) {
var aud = [], vid = []; var aud = [], vid = [];
$.FSRTC.getValidRes(null, function() { $.FSRTC.getValidRes(obj.camera, function() {
console.info("enumerating devices"); console.info("enumerating devices");
MediaStreamTrack.getSources(function (media_sources) { MediaStreamTrack.getSources(function (media_sources) {
...@@ -2170,9 +2170,4 @@ ...@@ -2170,9 +2170,4 @@
}); });
} }
$.verto.init = function(runtime) {
$.verto.findDevices(runtime);
};
})(jQuery); })(jQuery);
This diff was suppressed by a .gitattributes entry.
...@@ -751,7 +751,7 @@ function refresh_devices() ...@@ -751,7 +751,7 @@ function refresh_devices()
$("#usemic").empty(); $("#usemic").empty();
$.verto.findDevices(function() { $.verto.init({camera: null}, function() {
var x = 0; var x = 0;
$("#usecamera").append(new Option("No Camera", "none")); $("#usecamera").append(new Option("No Camera", "none"));
...@@ -1273,7 +1273,7 @@ $(document).ready(function() { ...@@ -1273,7 +1273,7 @@ $(document).ready(function() {
}); });
$.verto.init(init); init();
}); });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论