@stream-io/video-client 1.15.4 → 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,20 @@
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
+
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)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * remove the participants from state when leaving call ([003ac26](https://github.com/GetStream/stream-video-js/commit/003ac26eff3c14779d5f25e6e64973c88a5b811d))
18
+
5
19
  ## [1.15.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.15.3...@stream-io/video-client-1.15.4) (2025-01-23)
6
20
 
7
21
 
@@ -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.4";
7359
+ const version = "1.15.6";
7360
7360
  const [major, minor, patch] = version.split('.');
7361
7361
  let sdkInfo = {
7362
7362
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -10253,6 +10253,7 @@ class Call {
10253
10253
  this.sfuClient = undefined;
10254
10254
  this.dynascaleManager.setSfuClient(undefined);
10255
10255
  this.state.setCallingState(CallingState.LEFT);
10256
+ this.state.setParticipants([]);
10256
10257
  this.state.dispose();
10257
10258
  // Call all leave call hooks, e.g. to clean up global event handlers
10258
10259
  this.leaveCallHooks.forEach((hook) => hook());
@@ -12862,7 +12863,7 @@ class StreamClient {
12862
12863
  return await this.wsConnection.connect(this.defaultWSTimeout);
12863
12864
  };
12864
12865
  this.getUserAgent = () => {
12865
- const version = "1.15.4";
12866
+ const version = "1.15.6";
12866
12867
  return (this.userAgent ||
12867
12868
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12868
12869
  };