@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.
@@ -15605,10 +15605,14 @@ function normalizeConstraints(constraints) {
15605
15605
 
15606
15606
  //WCS-1972. fixed "TypeError"
15607
15607
  // Set default FPS value
15608
- var frameRate = (!constraints.video.frameRate || constraints.video.frameRate == 0) ? 30 : constraints.video.frameRate;
15609
- constraints.video.frameRate = {
15610
- ideal: frameRate
15611
- };
15608
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
15609
+ // Do not normalize framerate in Chrome 134 #WCS-4360
15610
+ } else {
15611
+ var frameRate = (!constraints.video.frameRate || constraints.video.frameRate == 0) ? 30 : constraints.video.frameRate;
15612
+ constraints.video.frameRate = {
15613
+ ideal: frameRate
15614
+ };
15615
+ }
15612
15616
  }
15613
15617
  }
15614
15618