@stream-io/video-react-native-sdk 1.22.1 → 1.22.2

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,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.22.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.22.1...@stream-io/video-react-native-sdk-1.22.2) (2025-10-24)
6
+
7
+ ### Bug Fixes
8
+
9
+ - compilation error in older kotlin versions ([cedb942](https://github.com/GetStream/stream-video-js/commit/cedb94296ca659a1ad5584d3bd3d29f6be12c3ab))
10
+
5
11
  ## [1.22.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.22.0...@stream-io/video-react-native-sdk-1.22.1) (2025-10-17)
6
12
 
7
13
  ### Dependency Updates
@@ -429,15 +429,15 @@ class StreamVideoReactNativeModule(reactContext: ReactApplicationContext) :
429
429
  busyToneJob?.cancel()
430
430
  busyToneJob = null
431
431
 
432
- busyToneAudioTrack?.let { track ->
432
+ busyToneAudioTrack?.apply {
433
433
  try {
434
- if (track.playState == AudioTrack.PLAYSTATE_PLAYING) {
435
- track.stop()
434
+ if (playState == AudioTrack.PLAYSTATE_PLAYING) {
435
+ stop()
436
436
  }
437
437
  } catch (e: Exception) {
438
438
  Log.e(NAME, "Error stopping AudioTrack: ${e.message}")
439
439
  } finally {
440
- track.release()
440
+ release()
441
441
  }
442
442
  }
443
443
  busyToneAudioTrack = null
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- const version = exports.version = '1.22.1';
7
+ const version = exports.version = '1.22.2';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '1.22.1';
1
+ export const version = '1.22.2';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "1.22.1";
1
+ export declare const version = "1.22.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "description": "Stream Video SDK for React Native",
5
5
  "author": "https://getstream.io",
6
6
  "homepage": "https://getstream.io/video/docs/react-native/",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.22.1';
1
+ export const version = '1.22.2';