@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.
@@ -13437,10 +13437,14 @@ function normalizeConstraints(constraints) {
13437
13437
 
13438
13438
  //WCS-1972. fixed "TypeError"
13439
13439
  // Set default FPS value
13440
- var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
13441
- constraints.video.frameRate = {
13442
- ideal: frameRate
13443
- };
13440
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
13441
+ // Do not normalize framerate in Chrome 134 #WCS-4360
13442
+ } else {
13443
+ var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
13444
+ constraints.video.frameRate = {
13445
+ ideal: frameRate
13446
+ };
13447
+ }
13444
13448
  }
13445
13449
  }
13446
13450
  if (constraints.audio) {