mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-10420: [verto.js] Verto on Safari -- some more tweaks
This commit is contained in:
parent
74f244e8c6
commit
4d32ca9826
@ -127,7 +127,7 @@ var updateVideoSize = function(ms) {
|
||||
var w = videoElem.width();
|
||||
var h = videoElem.height();
|
||||
var new_w, new_h;
|
||||
var aspect = 1920 / 1080;
|
||||
var aspect = w / h;
|
||||
var videoContainer = jQuery('div.video-wrapper');
|
||||
if (w > h) {
|
||||
new_w = videoContainer.width();
|
||||
@ -264,10 +264,17 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
||||
label: 'Screen'
|
||||
}];
|
||||
data.audioDevices = [{
|
||||
id: 'none',
|
||||
label: 'No Microphone'
|
||||
id: 'any',
|
||||
label: 'Default Microphone'
|
||||
},
|
||||
{
|
||||
id: 'none',
|
||||
label: 'No Microphone'
|
||||
}];
|
||||
data.speakerDevices = [];
|
||||
data.speakerDevices = [{
|
||||
id: 'any',
|
||||
label: 'Default Speaker'
|
||||
}];
|
||||
|
||||
if(!storage.data.selectedShare) {
|
||||
storage.data.selectedShare = data.shareDevices[0]['id'];
|
||||
|
@ -442,7 +442,7 @@ function real_size() {
|
||||
|
||||
var new_w;
|
||||
var new_h;
|
||||
var aspect = 1920 / 1080; /*temasys doesn't provide video width hack aspect to wide screen*/
|
||||
var aspect = w / h;
|
||||
|
||||
if (w > h) {
|
||||
new_w = window.innerWidth;
|
||||
|
@ -147,7 +147,7 @@ function real_size() {
|
||||
|
||||
var new_w;
|
||||
var new_h;
|
||||
var aspect = 1920 / 1080; /*temasys doesn't provide video width hack aspect to wide screen*/
|
||||
var aspect = w / h;
|
||||
|
||||
if (w > h) {
|
||||
new_w = window.innerWidth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user