aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/TranscodingSegmentCleaner.cs
AgeCommit message (Collapse)Author
2024-03-17Apply suggestions from code reviewnyanmisaka
Drop the unnecessary initial capacity from the list. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17Apply suggestions from code reviewnyanmisaka
Drop excludeFilePaths and lower the log level to debug to avoid spamming in the log file. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Apply suggestions from code reviewnyanmisaka
Add excludeFilePaths to skip segment files in which IOException occurred. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Add TranscodingSegmentCleaner to replace ffmpeg's hlsenc deletionnyanmisaka
FFmpeg deletes segments based on its own transcoding progress, but we need to delete segments based on client download progress. Since disk and GPU speeds vary, using hlsenc's built-in deletion will result in premature deletion of some segments. As a consequence, the server has to constantly respin new ffmpeg instances, resulting in choppy video playback. Signed-off-by: nyanmisaka <nst799610810@gmail.com>