mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-23 15:08:07 +02:00
feat(recordings): switch output format from mp4 to mkv for better IPTV stream compatibility
This commit is contained in:
1 parent
bbf462ae05
commit
4762b4edf8
1 file changed
+2
-2
@@ -106,9 +106,9 @@ class RecordingScheduler {
|
|||||||
// Génération d'un nom de fichier unique et sûr
|
// Génération d'un nom de fichier unique et sûr
|
||||||
final safeTitle = recording.title.replaceAll(RegExp(r'[^a-zA-Z0-9_\-]'), '_');
|
final safeTitle = recording.title.replaceAll(RegExp(r'[^a-zA-Z0-9_\-]'), '_');
|
||||||
final dateStr = recording.startTime.toUtc().toIso8601String().replaceAll(':', '').split('.')[0];
|
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 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
|
// Résoudre l'URL relative en URL absolue pour FFmpeg
|
||||||
// Le serveur Xtremflow tourne sur le port 8089 en interne Docker
|
// Le serveur Xtremflow tourne sur le port 8089 en interne Docker
|
||||||
|
|||||||
Reference in new issue
Block a user