fix(HLS): Delete video/audio segments after FFmpeg merge

This commit is contained in:
rlaphoenix 2024-03-24 22:28:15 +00:00
parent 774fec6d77
commit d9873dac25
1 changed files with 3 additions and 0 deletions

View File

@ -569,6 +569,9 @@ class HLS:
])
demuxer_file.unlink()
for segment in segments:
segment.unlink()
return save_path.stat().st_size
@staticmethod