Skip to content

Commit c96ae05

Browse files
authored
Merge pull request #101 from GameEgg/fix
fix: hls: need flush remaining data
2 parents 2cbd859 + b3ded7b commit c96ae05

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

protocol/hls/src/flv_data_receiver.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ impl FlvDataReceiver {
8080
//will do an optimization in the future.
8181
//todo
8282
if retry_count > 10 {
83+
self.media_processor.flush_remaining_data()?;
8384
break;
8485
}
8586
}

0 commit comments

Comments
 (0)