Skip to content

Commit

Permalink
Merge pull request #101 from GameEgg/fix
Browse files Browse the repository at this point in the history
fix: hls: need flush remaining data
  • Loading branch information
harlanc authored Feb 21, 2024
2 parents 2cbd859 + b3ded7b commit c96ae05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocol/hls/src/flv_data_receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c96ae05

Please sign in to comment.