mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
FS-8043 part 2
This commit is contained in:
parent
2a5d664c85
commit
36abcab9f9
@ -223,7 +223,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Selecting the first source.
|
// Selecting the first source.
|
||||||
if (i == 0) {
|
if (i == 0 && !storage.data.selectedVideo) {
|
||||||
storage.data.selectedVideo = device.id;
|
storage.data.selectedVideo = device.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
for (var i in jQuery.verto.audioInDevices) {
|
for (var i in jQuery.verto.audioInDevices) {
|
||||||
var device = jQuery.verto.audioInDevices[i];
|
var device = jQuery.verto.audioInDevices[i];
|
||||||
// Selecting the first source.
|
// Selecting the first source.
|
||||||
if (i == 0) {
|
if (i == 0 && !storage.data.selectedVideo) {
|
||||||
storage.data.selectedAudio = device.id;
|
storage.data.selectedAudio = device.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -586,7 +586,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
call: function(destination, callback) {
|
call: function(destination, callback) {
|
||||||
console.debug('Attempting to call destination ' + destination + '.');
|
console.debug('Attempting to call destination ' + destination + '.');
|
||||||
|
|
||||||
this.refreshVideoResolution();
|
//this.refreshVideoResolution();
|
||||||
|
|
||||||
var call = data.instance.newCall({
|
var call = data.instance.newCall({
|
||||||
destination_number: destination,
|
destination_number: destination,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user