mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-8599 #resolve [Workaround for Mozilla is no longer needed for video size]
This commit is contained in:
@@ -542,17 +542,10 @@
|
||||
var bestFrameRate = obj.options.videoParams.vertoBestFrameRate;
|
||||
delete obj.options.videoParams.vertoBestFrameRate;
|
||||
|
||||
if (window.moz) {
|
||||
video = obj.options.videoParams;
|
||||
if (!video.width) video.width = video.minWidth;
|
||||
if (!video.height) video.height = video.minHeight;
|
||||
if (!video.frameRate) video.frameRate = video.minFrameRate;
|
||||
} else {
|
||||
video = {
|
||||
mandatory: obj.options.videoParams,
|
||||
optional: []
|
||||
}
|
||||
}
|
||||
video = {
|
||||
mandatory: obj.options.videoParams,
|
||||
optional: []
|
||||
}
|
||||
|
||||
var useVideo = obj.options.useVideo;
|
||||
|
||||
@@ -1124,13 +1117,6 @@
|
||||
"maxHeight": h
|
||||
};
|
||||
|
||||
if (window.moz) {
|
||||
video = video.mandatory;
|
||||
if (!video.width) video.width = video.minWidth;
|
||||
if (!video.height) video.height = video.minHeight;
|
||||
if (!video.frameRate) video.frameRate = video.minFrameRate;
|
||||
}
|
||||
|
||||
getUserMedia({
|
||||
constraints: {
|
||||
audio: ttl++ == 0,
|
||||
|
Reference in New Issue
Block a user