提交 d66d2271 authored 作者: Ítalo Rossi's avatar Ítalo Rossi

Merge pull request #484 in FS/freeswitch from…

Merge pull request #484 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8178-empty-default-share-device-option to master

* commit 'da0b7c61':
  FS-8178 - [verto_communicator] Define first share device selected by default in settings modal
......@@ -206,6 +206,10 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
}];
data.audioDevices = [];
if(!storage.data.selectedShare) {
storage.data.selectedShare = data.shareDevices[0]['id'];
}
for (var i in jQuery.verto.videoDevices) {
var device = jQuery.verto.videoDevices[i];
if (!device.label) {
......@@ -505,7 +509,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
cleanShareCall(that);
} else {
if (data.conf) {
data.liveArray.destroy();
data.liveArray.destroy();
data.conf.destroy();
}
cleanCall();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论