feat: implement HLS live streaming and VOD transcoding handler with FFmpeg and NVIDIA GPU support

This commit is contained in:
Michael committed 2026-04-01 21:14:33 +02:00
1 parent 5e7e86e4d8
commit e4301077b0
4 files changed
+144 -6

No files matched your search

+3 -1
View File
@@ -14,7 +14,7 @@ import '../../../core/models/playlist_config.dart';
import '../../../core/widgets/glass_container.dart';
import '../../../core/theme/app_colors.dart';
enum StreamType { live, vod, series }
enum StreamType { live, vod, series, recording }
class PlayerScreen extends ConsumerStatefulWidget {
final String streamId;
@@ -127,6 +127,8 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
currentStreamId,
widget.containerExtension,
);
} else if (widget.streamType == StreamType.recording) {
streamUrl = '${service.backendBaseUrl}/api/recordings/stream/$currentStreamId/playlist.m3u8';
}
// Store URL for Lite Player