fix(recordings): correct stream_url to use real live stream, resolve to absolute URL for FFmpeg, use copy mode, speed up scheduler to 10s

This commit is contained in:
Michael committed 2026-03-08 22:43:42 +01:00
1 parent 7e0837374e
commit 60bb10fe4d
2 files changed
+14 -11

No files matched your search

@@ -50,7 +50,7 @@ class _RecordingModalState extends State<RecordingModal> {
headers: {'Content-Type': 'application/json'},
body: json.encode({
'channel_id': widget.channel.streamId,
'stream_url': widget.channel.streamIcon, // Hack temp: Utiliser streamId pour générer l'url via player logic plus tard
'stream_url': '/api/live/${widget.channel.streamId}.ts', // URL du flux live via le proxy backend
'title': widget.channel.name,
'start_time': _startTime.toIso8601String(),
'end_time': endTime.toIso8601String(),