From b3ded7b33d7a79cbab0aa44931e687a68aaff4f4 Mon Sep 17 00:00:00 2001 From: gameegg Date: Tue, 20 Feb 2024 21:09:15 +0900 Subject: [PATCH] fix: hls: need flush remaining data --- protocol/hls/src/flv_data_receiver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/hls/src/flv_data_receiver.rs b/protocol/hls/src/flv_data_receiver.rs index fd6a44a8..58b02ce7 100644 --- a/protocol/hls/src/flv_data_receiver.rs +++ b/protocol/hls/src/flv_data_receiver.rs @@ -80,6 +80,7 @@ impl FlvDataReceiver { //will do an optimization in the future. //todo if retry_count > 10 { + self.media_processor.flush_remaining_data()?; break; } }