Merge pull request #1549 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11285-overconstrainederror-on-some-android to master

* commit 'ef647e3e3e0510b5b9423b95d5c474441d0d4b6b':
  FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified
This commit is contained in:
Christopher Rienzo 2018-08-22 22:05:33 +00:00
commit 08d54933fa
1 changed files with 5 additions and 0 deletions

View File

@ -536,6 +536,11 @@
mandatory: obj.options.videoParams,
optional: opt
};
// NOTE: This is a workaround for
// https://bugs.chromium.org/p/chromium/issues/detail?id=862325
if (!!navigator.userAgent.match(/Android/i)) {
delete video.frameRate.min;
}
}
} else {