@flashphoner/websdk 2.0.256 → 2.0.257

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/flashphoner.js CHANGED
@@ -13703,10 +13703,14 @@ function normalizeConstraints(constraints) {
13703
13703
 
13704
13704
  //WCS-1972. fixed "TypeError"
13705
13705
  // Set default FPS value
13706
- var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
13707
- constraints.video.frameRate = {
13708
- ideal: frameRate
13709
- };
13706
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
13707
+ // Do not normalize framerate in Chrome 134 #WCS-4360
13708
+ } else {
13709
+ var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
13710
+ constraints.video.frameRate = {
13711
+ ideal: frameRate
13712
+ };
13713
+ }
13710
13714
  }
13711
13715
  }
13712
13716
  if (constraints.audio) {