@stream-io/video-client 1.15.5 → 1.15.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.15.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.15.5...@stream-io/video-client-1.15.6) (2025-01-29)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ensures that maxBitrate is an integer ([#1657](https://github.com/GetStream/stream-video-js/issues/1657)) ([69eee96](https://github.com/GetStream/stream-video-js/commit/69eee969ac4d52e3410d8e5e12e012b02a5eb1b7)), closes [#1527](https://github.com/GetStream/stream-video-js/issues/1527)
11
+
5
12
  ## [1.15.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.15.4...@stream-io/video-client-1.15.5) (2025-01-24)
6
13
 
7
14
 
@@ -5498,7 +5498,7 @@ const computeVideoLayers = (videoTrack, publishOption) => {
5498
5498
  rid,
5499
5499
  width: Math.round(width / downscaleFactor),
5500
5500
  height: Math.round(height / downscaleFactor),
5501
- maxBitrate: maxBitrate / bitrateFactor || defaultBitratePerRid[rid],
5501
+ maxBitrate: Math.round(maxBitrate / bitrateFactor) || defaultBitratePerRid[rid],
5502
5502
  maxFramerate: fps,
5503
5503
  };
5504
5504
  if (svcCodec) {
@@ -7356,7 +7356,7 @@ const aggregate = (stats) => {
7356
7356
  return report;
7357
7357
  };
7358
7358
 
7359
- const version = "1.15.5";
7359
+ const version = "1.15.6";
7360
7360
  const [major, minor, patch] = version.split('.');
7361
7361
  let sdkInfo = {
7362
7362
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -12863,7 +12863,7 @@ class StreamClient {
12863
12863
  return await this.wsConnection.connect(this.defaultWSTimeout);
12864
12864
  };
12865
12865
  this.getUserAgent = () => {
12866
- const version = "1.15.5";
12866
+ const version = "1.15.6";
12867
12867
  return (this.userAgent ||
12868
12868
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12869
12869
  };