HLS: 返回全部切片数据后,链接断开不报错: #1332

This commit is contained in:
ziyue 2022-01-04 16:52:51 +08:00
parent 80d24d2884
commit 3ccd48e7a9

View File

@ -66,6 +66,7 @@ void HttpTSPlayer::onDisconnect(const SockException &ex) {
void HttpTSPlayer::emitOnComplete(const SockException &ex) {
if (_on_complete) {
_on_complete(ex);
_on_complete = nullptr;
}
}