fix(HLS): Delete video/audio segments after FFmpeg merge
This commit is contained in:
@@ -569,6 +569,9 @@ class HLS:
|
|||||||
])
|
])
|
||||||
demuxer_file.unlink()
|
demuxer_file.unlink()
|
||||||
|
|
||||||
|
for segment in segments:
|
||||||
|
segment.unlink()
|
||||||
|
|
||||||
return save_path.stat().st_size
|
return save_path.stat().st_size
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user