@stream-io/video-client 1.11.2 → 1.11.3

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.11.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.2...@stream-io/video-client-1.11.3) (2024-11-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * respect codec overrides when computing the video layers ([#1582](https://github.com/GetStream/stream-video-js/issues/1582)) ([c22b83e](https://github.com/GetStream/stream-video-js/commit/c22b83ef710f2188e680b73790154de046a824e9))
11
+
5
12
  ## [1.11.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.1...@stream-io/video-client-1.11.2) (2024-11-14)
6
13
 
7
14
 
@@ -3335,7 +3335,7 @@ const retryable = async (rpc, signal) => {
3335
3335
  return result;
3336
3336
  };
3337
3337
 
3338
- const version = "1.11.2";
3338
+ const version = "1.11.3";
3339
3339
  const [major, minor, patch] = version.split('.');
3340
3340
  let sdkInfo = {
3341
3341
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -6001,7 +6001,7 @@ class Publisher {
6001
6001
  .target_resolution;
6002
6002
  const screenShareBitrate = settings?.screensharing.target_resolution?.bitrate;
6003
6003
  const publishOpts = opts || this.publishOptsForTrack.get(trackType);
6004
- const codecInUse = getOptimalVideoCodec(publishOpts?.preferredCodec);
6004
+ const codecInUse = opts?.forceCodec || getOptimalVideoCodec(opts?.preferredCodec);
6005
6005
  return trackType === TrackType.VIDEO
6006
6006
  ? findOptimalVideoLayers(track, targetResolution, codecInUse, publishOpts)
6007
6007
  : trackType === TrackType.SCREEN_SHARE
@@ -12978,7 +12978,7 @@ class StreamClient {
12978
12978
  });
12979
12979
  };
12980
12980
  this.getUserAgent = () => {
12981
- const version = "1.11.2";
12981
+ const version = "1.11.3";
12982
12982
  return (this.userAgent ||
12983
12983
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12984
12984
  };