mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
完善PlayerProxy关闭机制,重试次数超限后自动关闭
This commit is contained in:
@@ -634,7 +634,7 @@ void installWebApi() {
|
||||
});
|
||||
|
||||
//被主动关闭拉流
|
||||
player->setOnClose([key](){
|
||||
player->setOnClose([key](const SockException &ex){
|
||||
lock_guard<recursive_mutex> lck(s_proxyMapMtx);
|
||||
s_proxyMap.erase(key);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user