feat(recordings): switch output format from mp4 to mkv for better IPTV stream compatibility

This commit is contained in:
Michael committed 2026-03-08 23:56:43 +01:00
1 parent bbf462ae05
commit 4762b4edf8
1 file changed
+2 -2
+2 -2
View File
@@ -106,9 +106,9 @@ class RecordingScheduler {
// Génération d'un nom de fichier unique et sûr
final safeTitle = recording.title.replaceAll(RegExp(r'[^a-zA-Z0-9_\-]'), '_');
final dateStr = recording.startTime.toUtc().toIso8601String().replaceAll(':', '').split('.')[0];
final fileName = '${safeTitle}_$dateStr.mp4';
final fileName = '${safeTitle}_$dateStr.mkv';
final filePath = p.join(recordingsDir.path, fileName);
final logFilePath = filePath.replaceAll('.mp4', '.log');
final logFilePath = filePath.replaceAll('.mkv', '.log');
// Résoudre l'URL relative en URL absolue pour FFmpeg
// Le serveur Xtremflow tourne sur le port 8089 en interne Docker