fix: fix HLS recording stopped unexpectedly

This commit is contained in:
acgnhik 2022-06-26 10:55:46 +08:00
parent 8d720cecc5
commit 44b031ef70

View File

@ -72,8 +72,8 @@ class SegmentRemuxer:
try:
if self._stream_remuxer.stopped:
self._stream_remuxer.start()
while True:
self._stream_remuxer.start()
ready = self._stream_remuxer.wait(timeout=1)
if disposed:
return