expo-libvlc-player 7.0.31 → 7.0.33

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/README.md CHANGED
@@ -289,13 +289,13 @@ interface MediaInfo {
289
289
 
290
290
  On Android, the `libvlcjni` player detaches from the View after switching screens.
291
291
 
292
- The current workaround attaches the View back to the player but it causes a brief black screen.
292
+ The current workaround attaches the View back to the player but causes a brief black screen.
293
293
 
294
294
  https://code.videolan.org/videolan/vlc-android/-/issues/1495
295
295
 
296
296
  On iOS, the `VLCKit` player deselects the video track after pausing in the background.
297
297
 
298
- The current workaround selects the video track back but it causes a brief black screen.
298
+ The current workaround selects the video track back but causes a brief black screen.
299
299
 
300
300
  https://code.videolan.org/videolan/VLCKit/-/issues/743
301
301
 
@@ -216,19 +216,17 @@ class LibVlcPlayerView: ExpoView {
216
216
  player.time = VLCTime(int: Int32(time))
217
217
  }
218
218
 
219
- if volume != MediaPlayerConstants.maxPlayerVolume || mute {
220
- // Audio instance not ready, try again
221
- retryUntil { [weak self] _ in
222
- guard let self else { return true }
219
+ // Negative volume workaround
220
+ retryUntil { [weak self] _ in
221
+ guard let self else { return true }
223
222
 
224
- let newVolume = mute ?
225
- MediaPlayerConstants.minPlayerVolume :
226
- volume
223
+ let newVolume = mute ?
224
+ MediaPlayerConstants.minPlayerVolume :
225
+ volume
227
226
 
228
- player.audio?.volume = Int32(newVolume)
227
+ player.audio?.volume = Int32(newVolume)
229
228
 
230
- return false
231
- }
229
+ return false
232
230
  }
233
231
 
234
232
  time = MediaPlayerConstants.defaultPlayerTime
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-libvlc-player",
3
- "version": "7.0.31",
3
+ "version": "7.0.33",
4
4
  "description": "LibVLC Player for Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  "@types/react": "^19.2.14",
37
37
  "eslint": "^9.39.4",
38
38
  "eslint-config-universe": "^15.0.3",
39
- "expo": "~55.0.25",
39
+ "expo": "~55.0.26",
40
40
  "husky": "^9.1.7",
41
41
  "lint-staged": "^16.4.0",
42
42
  "prettier": "^3.8.3",