@stream-io/video-client 1.18.2 → 1.18.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.18.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.18.2...@stream-io/video-client-1.18.3) (2025-03-05)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * revert the release of cloned track on publisher dispose ([556fb61](https://github.com/GetStream/stream-video-js/commit/556fb610ae1c9a1965f38fc07e995683b5052544))
11
+
5
12
  ## [1.18.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.18.1...@stream-io/video-client-1.18.2) (2025-03-04)
6
13
 
7
14
 
@@ -5813,11 +5813,6 @@ class Publisher extends BasePeerConnection {
5813
5813
  }
5814
5814
  for (const track of this.clonedTracks) {
5815
5815
  this.stopTrack(track);
5816
- // @ts-expect-error release() is present in react-native-webrtc
5817
- if (track && typeof track.release === 'function') {
5818
- // @ts-expect-error
5819
- track.release();
5820
- }
5821
5816
  }
5822
5817
  };
5823
5818
  this.changePublishQuality = async (videoSender) => {
@@ -7470,7 +7465,7 @@ const aggregate = (stats) => {
7470
7465
  return report;
7471
7466
  };
7472
7467
 
7473
- const version = "1.18.2";
7468
+ const version = "1.18.3";
7474
7469
  const [major, minor, patch] = version.split('.');
7475
7470
  let sdkInfo = {
7476
7471
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -13106,7 +13101,7 @@ class StreamClient {
13106
13101
  this.getUserAgent = () => {
13107
13102
  if (!this.cachedUserAgent) {
13108
13103
  const { clientAppIdentifier = {} } = this.options;
13109
- const { sdkName = 'js', sdkVersion = "1.18.2", ...extras } = clientAppIdentifier;
13104
+ const { sdkName = 'js', sdkVersion = "1.18.3", ...extras } = clientAppIdentifier;
13110
13105
  this.cachedUserAgent = [
13111
13106
  `stream-video-${sdkName}-v${sdkVersion}`,
13112
13107
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),