Commit Graph

111 Commits

Author SHA1 Message Date
Developer
35371cebff 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.
2026-03-10 20:16:01 +08:00
Developer
911eeb9052 fix: use snake_case field names matching Bilibili DASH API response
B站 API 实际返回 segment_base.initialization / index_range
而非 segmentBase.Initialization / indexRange,修正类型定义和 MPD 生成逻辑。
segment_base 设为可选,缺失时不生成 SegmentBase 元素(ExoPlayer fallback)。
2026-03-10 20:09:50 +08:00
Developer
5bb6a3cd68 feat: unlock 1080P+ on Android via DASH streaming
- getPlayUrl uses fnval=16 (DASH) on Android, keeping fnval=0/html5 for iOS/web
- New utils/dash.ts builds a valid DASH MPD from Bilibili's segmentBase ranges
  and returns it as a data: URI for ExoPlayer consumption
- NativeVideoPlayer selects DASH path (type='mpd') or durl fallback automatically
- Extend PlayUrlResponse types with DashVideoItem/DashAudioItem/DashSegmentBase
2026-03-10 20:04:48 +08:00
Developer
4dbb3cb3d6 1 2026-03-10 19:22:38 +08:00
Developer
cf20b016ff 1 2026-03-10 19:04:18 +08:00
Developer
18eebfb0d2 1 2026-03-10 17:25:18 +08:00
Developer
c9c62d3e48 1 2026-03-06 14:52:28 +08:00
Developer
9b7e728c9d 1 2026-03-06 12:58:41 +08:00
Developer
b09c3731f9 chore: add dev server config and update tsconfig
- Add .claude/launch.json for Expo Dev Server (port 8081)
- Update tsconfig.json with expo-router typedRoutes include paths
2026-03-05 18:09:44 +08:00
Developer
a0e53bd073 feat: add all source files - services, store, hooks, components, screens 2026-03-05 18:02:54 +08:00
Developer
bbe0df6ed2 chore: init expo typescript project with all dependencies 2026-03-05 17:55:47 +08:00