HLS: 返回全部切片数据后,链接断开不报错: #1332
This commit is contained in:
parent
80d24d2884
commit
3ccd48e7a9
|
|
@ -66,6 +66,7 @@ void HttpTSPlayer::onDisconnect(const SockException &ex) {
|
||||||
void HttpTSPlayer::emitOnComplete(const SockException &ex) {
|
void HttpTSPlayer::emitOnComplete(const SockException &ex) {
|
||||||
if (_on_complete) {
|
if (_on_complete) {
|
||||||
_on_complete(ex);
|
_on_complete(ex);
|
||||||
|
_on_complete = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue