@100mslive/react-native-hms 1.9.1-beta.0 → 1.9.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.
@@ -191,6 +191,10 @@ class HMSHLSPlayer: UIView {
191
191
  self.frame = frame
192
192
  self.backgroundColor = UIColor(displayP3Red: 0, green: 0, blue: 0, alpha: 1)
193
193
 
194
+ if #available(iOS 15.0, *) {
195
+ hmsHLSPlayer._nativePlayer.audiovisualBackgroundPlaybackPolicy = .continuesIfPossible
196
+ }
197
+
194
198
  // creating 100ms HLS Player and getting player view controller
195
199
  let playerViewController = hmsHLSPlayer.videoPlayerViewController(showsPlayerControls: false)
196
200
  hmsHLSPlayerViewController = playerViewController
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@100mslive/react-native-hms",
3
- "version": "1.9.1-beta.0",
3
+ "version": "1.9.1",
4
4
  "description": "Integrate Real Time Audio and Video conferencing, Interactive Live Streaming, and Chat in your apps with 100ms React Native SDK. With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture (PiP), one-to-one Video Call Modes, Audio Rooms, Video Player and much more, add immersive real-time communications to your apps.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",