@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.
@@ -12865,10 +12865,14 @@ function normalizeConstraints(constraints) {
12865
12865
 
12866
12866
  //WCS-1972. fixed "TypeError"
12867
12867
  // Set default FPS value
12868
- var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
12869
- constraints.video.frameRate = {
12870
- ideal: frameRate
12871
- };
12868
+ if (browserDetails.browser === "chrome" && browserDetails.version >= 134) {
12869
+ // Do not normalize framerate in Chrome 134 #WCS-4360
12870
+ } else {
12871
+ var frameRate = !constraints.video.frameRate || constraints.video.frameRate == 0 ? 30 : constraints.video.frameRate;
12872
+ constraints.video.frameRate = {
12873
+ ideal: frameRate
12874
+ };
12875
+ }
12872
12876
  }
12873
12877
  }
12874
12878
  if (constraints.audio) {