expo-libvlc-player 7.0.32 → 7.0.34
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 +2 -2
- package/ios/LibVlcPlayerView.swift +8 -10
- package/package.json +4 -6
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
|
|
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
|
|
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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
let newVolume = mute ?
|
|
224
|
+
MediaPlayerConstants.minPlayerVolume :
|
|
225
|
+
volume
|
|
227
226
|
|
|
228
|
-
|
|
227
|
+
player.audio?.volume = Int32(newVolume)
|
|
229
228
|
|
|
230
|
-
|
|
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.
|
|
3
|
+
"version": "7.0.34",
|
|
4
4
|
"description": "LibVLC Player for Expo",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -31,17 +31,15 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"homepage": "https://github.com/cornejobarraza/expo-libvlc-player#readme",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@eslint/eslintrc": "^3.3.5",
|
|
36
|
-
"@types/react": "^19.2.14",
|
|
34
|
+
"@types/react": "^19.2.15",
|
|
37
35
|
"eslint": "^9.39.4",
|
|
38
|
-
"eslint-config-universe": "^15.0
|
|
36
|
+
"eslint-config-universe": "^15.2.0",
|
|
39
37
|
"expo": "~55.0.26",
|
|
40
38
|
"husky": "^9.1.7",
|
|
41
39
|
"lint-staged": "^16.4.0",
|
|
42
40
|
"prettier": "^3.8.3",
|
|
43
41
|
"react-native": "0.83.6",
|
|
44
|
-
"typescript": "~5.9.
|
|
42
|
+
"typescript": "~5.9.3"
|
|
45
43
|
},
|
|
46
44
|
"peerDependencies": {
|
|
47
45
|
"expo": "*",
|