addStreamProxy重复拉流时返回错误 (#2773)

This commit is contained in:
xia-chu 2023-08-26 23:02:19 +08:00
parent 06a6d26491
commit 0844f09e24

View File

@ -537,7 +537,7 @@ void addStreamProxy(const string &vhost, const string &app, const string &stream
lock_guard<recursive_mutex> lck(s_proxyMapMtx);
if (s_proxyMap.find(key) != s_proxyMap.end()) {
//已经在拉流了
cb(SockException(Err_success), key);
cb(SockException(Err_other, "This stream already exists"), key);
return;
}
//添加拉流代理