Skip to content

Commit

Permalink
fix: hls: need flush remaining data
Browse files Browse the repository at this point in the history
  • Loading branch information
GameEgg committed Feb 20, 2024
1 parent 2cbd859 commit b3ded7b
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 b3ded7b

Please sign in to comment.