@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashphoner/websdk",
3
- "version": "2.0.256",
3
+ "version": "2.0.257",
4
4
  "description": "Official Flashphoner WebCallServer WebSDK package",
5
5
  "main": "./src/flashphoner-core.js",
6
6
  "types": "./src/flashphoner-core.d.ts",
@@ -1540,10 +1540,14 @@ function normalizeConstraints(constraints) {
1540
1540
 
1541
1541
  //WCS-1972. fixed "TypeError"
1542
1542
  // Set default FPS value
1543
- var frameRate = (!constraints.video.frameRate || constraints.video.frameRate == 0) ? 30 : constraints.video.frameRate;
1544
- constraints.video.frameRate = {
1545
- ideal: frameRate
1546
- };
1543
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
1544
+ // Do not normalize framerate in Chrome 134 #WCS-4360
1545
+ } else {
1546
+ var frameRate = (!constraints.video.frameRate || constraints.video.frameRate == 0) ? 30 : constraints.video.frameRate;
1547
+ constraints.video.frameRate = {
1548
+ ideal: frameRate
1549
+ };
1550
+ }
1547
1551
  }
1548
1552
  }
1549
1553