@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.
@@ -12875,10 +12875,14 @@ function normalizeConstraints(constraints) {
12875
12875
 
12876
12876
  //WCS-1972. fixed "TypeError"
12877
12877
  // Set default FPS value
12878
- var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
12879
- constraints.video.frameRate = {
12880
- ideal: frameRate
12881
- };
12878
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
12879
+ // Do not normalize framerate in Chrome 134 #WCS-4360
12880
+ } else {
12881
+ var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
12882
+ constraints.video.frameRate = {
12883
+ ideal: frameRate
12884
+ };
12885
+ }
12882
12886
  }
12883
12887
  }
12884
12888
  if (constraints.audio) {