@stream-io/video-react-native-sdk 1.22.0 → 1.22.1-alpha.1

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.
@@ -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.0';
7
+ const version = exports.version = '1.22.1-alpha.1';
8
8
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["version","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["version","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,gBAAgB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export const version = '1.22.0';
1
+ export const version = '1.22.1-alpha.1';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,gBAAgB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export declare const version = "1.22.0";
1
+ export declare const version = "1.22.1-alpha.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
@@ -19,7 +19,7 @@ enum DefaultAudioDevice {
19
19
  @objc(StreamInCallManager)
20
20
  class StreamInCallManager: RCTEventEmitter {
21
21
 
22
- private let audioSessionQueue = DispatchQueue(label: "io.getstream.rn.audioSessionQueue")
22
+ private let audioSessionQueue = DispatchQueue(label: "io.getstream.rn.audioSessionQueue", qos: .userInitiated)
23
23
 
24
24
  private var audioManagerActivated = false
25
25
  private var callAudioRole: CallAudioRole = .communicator
@@ -142,6 +142,7 @@ class StreamInCallManager: RCTEventEmitter {
142
142
 
143
143
  if currentCategory != intendedCategory.rawValue || currentMode != intendedMode.rawValue || currentOptions != intendedOptions || !currentIsActive {
144
144
  session.lockForConfiguration()
145
+ defer { session.unlockForConfiguration() }
145
146
  do {
146
147
  try session.setCategory(intendedCategory, mode: intendedMode, options: intendedOptions)
147
148
  try session.setActive(true)
@@ -156,7 +157,6 @@ class StreamInCallManager: RCTEventEmitter {
156
157
  log("configureAudioSession: Error setting mode: \(error.localizedDescription)")
157
158
  }
158
159
  }
159
- session.unlockForConfiguration()
160
160
  } else {
161
161
  log("configureAudioSession: no change needed")
162
162
  }
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>StreamVideoReactNative.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.22.0",
3
+ "version": "1.22.1-alpha.1",
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/",
@@ -125,9 +125,9 @@
125
125
  "@react-native-firebase/app": "^23.4.0",
126
126
  "@react-native-firebase/messaging": "^23.4.0",
127
127
  "@react-native/babel-preset": "^0.81.4",
128
- "@stream-io/noise-cancellation-react-native": "^0.4.0",
128
+ "@stream-io/noise-cancellation-react-native": "workspace:^",
129
129
  "@stream-io/react-native-webrtc": "125.4.4",
130
- "@stream-io/video-filters-react-native": "^0.8.0",
130
+ "@stream-io/video-filters-react-native": "workspace:^",
131
131
  "@testing-library/jest-native": "^5.4.3",
132
132
  "@testing-library/react-native": "13.3.3",
133
133
  "@tsconfig/node18": "^18.2.4",
@@ -162,4 +162,4 @@
162
162
  "typescript"
163
163
  ]
164
164
  }
165
- }
165
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.22.0';
1
+ export const version = '1.22.1-alpha.1';