@stream-io/video-client 1.10.4 → 1.10.5

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.10.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.10.4...@stream-io/video-client-1.10.5) (2024-11-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ignore maxSimulcastLayers override for SVC codecs ([#1564](https://github.com/GetStream/stream-video-js/issues/1564)) ([48f8abe](https://github.com/GetStream/stream-video-js/commit/48f8abe5fd5b48c367a04696febd582573def828))
11
+
5
12
  ## [1.10.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.10.3...@stream-io/video-client-1.10.4) (2024-11-07)
6
13
 
7
14
 
@@ -3108,7 +3108,7 @@ const retryable = async (rpc, signal) => {
3108
3108
  return result;
3109
3109
  };
3110
3110
 
3111
- const version = "1.10.4";
3111
+ const version = "1.10.5";
3112
3112
  const [major, minor, patch] = version.split('.');
3113
3113
  let sdkInfo = {
3114
3114
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -3541,7 +3541,8 @@ const findOptimalVideoLayers = (videoTrack, targetResolution = defaultTargetReso
3541
3541
  let downscaleFactor = 1;
3542
3542
  let bitrateFactor = 1;
3543
3543
  const svcCodec = isSvcCodec(codecInUse);
3544
- for (const rid of ['f', 'h', 'q'].slice(0, Math.min(3, maxSimulcastLayers))) {
3544
+ const totalLayers = svcCodec ? 3 : Math.min(3, maxSimulcastLayers);
3545
+ for (const rid of ['f', 'h', 'q'].slice(0, totalLayers)) {
3545
3546
  const layer = {
3546
3547
  active: true,
3547
3548
  rid,
@@ -12702,7 +12703,7 @@ class StreamClient {
12702
12703
  });
12703
12704
  };
12704
12705
  this.getUserAgent = () => {
12705
- const version = "1.10.4";
12706
+ const version = "1.10.5";
12706
12707
  return (this.userAgent ||
12707
12708
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12708
12709
  };