mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-23 07:08:16 +02:00
feat: hybrid player strategy (VOD=Native, Live=Exo/Lite) with enhanced UI for Live TV
This commit is contained in:
1 parent
411c15f276
commit
214443f6d5
2 files changed
+276
-205
No files matched your search
@@ -406,11 +406,11 @@ class _MobileLiveTVTabState extends ConsumerState<MobileLiveTVTab>
|
||||
|
||||
void _playChannel(BuildContext context, Channel channel,
|
||||
List<Channel> channels, PlaylistConfig playlist, int index) async {
|
||||
// Unified Player Strategy: Use NativePlayer (Ultra) for everything
|
||||
// Unified Player Strategy: Use LitePlayer (ExoPlayer) for Live TV (Stability)
|
||||
await Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => NativePlayerScreen(
|
||||
builder: (context) => LitePlayerScreen(
|
||||
streamId: channel.streamId,
|
||||
title: channel.name,
|
||||
playlist: playlist,
|
||||
|
||||
Reference in new issue
Block a user