fix: switch DASH delivery from data: URI to local MPD file via expo-file-system

data: URI scheme for DASH manifests is unreliable in ExoPlayer.
Write MPD XML to FileSystem.cacheDirectory/bili_dash.mpd and pass
file:// URI to react-native-video instead. URL resolution is now
async via useEffect+state in NativeVideoPlayer.
This commit is contained in:
Developer
2026-03-10 20:16:01 +08:00
parent 911eeb9052
commit 35371cebff
4 changed files with 41 additions and 26 deletions

View File

@@ -16,6 +16,7 @@
"expo": "~55.0.5",
"expo-av": "^16.0.8",
"expo-dev-client": "~55.0.11",
"expo-file-system": "~55.0.10",
"expo-linear-gradient": "~55.0.8",
"expo-router": "~55.0.4",
"expo-status-bar": "~55.0.4",