}
// Selecting the first source.
- if (i == 0) {
+ if (i == 0 && !storage.data.selectedVideo) {
storage.data.selectedVideo = device.id;
}
for (var i in jQuery.verto.audioInDevices) {
var device = jQuery.verto.audioInDevices[i];
// Selecting the first source.
- if (i == 0) {
+ if (i == 0 && !storage.data.selectedVideo) {
storage.data.selectedAudio = device.id;
}
call: function(destination, callback) {
console.debug('Attempting to call destination ' + destination + '.');
- this.refreshVideoResolution();
+ //this.refreshVideoResolution();
var call = data.instance.newCall({
destination_number: destination,