@livekit/react-native 2.6.2-0 → 2.6.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.
@@ -198,10 +198,10 @@ public class LivekitReactNativeModule: RCTEventEmitter {
198
198
 
199
199
  @objc(createMultibandVolumeProcessor:pcId:trackId:)
200
200
  public func createMultibandVolumeProcessor(_ options: NSDictionary, pcId: NSNumber, trackId: String) -> String {
201
- let bands = (options["bands"] as? NSString)?.integerValue ?? 5
202
- let minFrequency = (options["minFrequency"] as? NSString)?.floatValue ?? 1000
203
- let maxFrequency = (options["maxFrequency"] as? NSString)?.floatValue ?? 8000
204
- let intervalMs = (options["updateInterval"] as? NSString)?.floatValue ?? 40
201
+ let bands = (options["bands"] as? NSNumber)?.intValue ?? 5
202
+ let minFrequency = (options["minFrequency"] as? NSNumber)?.floatValue ?? 1000
203
+ let maxFrequency = (options["maxFrequency"] as? NSNumber)?.floatValue ?? 8000
204
+ let intervalMs = (options["updateInterval"] as? NSNumber)?.floatValue ?? 40
205
205
 
206
206
  let renderer = MultibandVolumeAudioRenderer(
207
207
  bands: bands,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/react-native",
3
- "version": "2.6.2-0",
3
+ "version": "2.6.3",
4
4
  "description": "LiveKit for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",