Try to stream the file in handler.

This commit is contained in:
Florian THIERRY
2026-07-24 15:38:36 +02:00
parent f8f86eeae1
commit cef96884c6
6 changed files with 35 additions and 17 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ impl VideoPort for LibraryItemAdapter {
id: video.id,
name: video.name,
format: AVI,
file: Box::new(TokioVideoFile::new(&video_file_path).map_err(|_| VideoError::FileReadingTechnicalIssue)?)
file: Box::new(TokioVideoFile::new(&video_file_path))
};
Ok(result)