mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 20:15:58 +08:00
新增媒体流flush机制:#1996
This commit is contained in:
@@ -393,6 +393,9 @@ void HlsPlayerImp::onShutdown(const SockException &ex) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (_decoder) {
|
||||
_decoder->flush();
|
||||
}
|
||||
PlayerImp<HlsPlayer, PlayerBase>::onShutdown(ex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user