Merge branch 'master' of https://github.com/xia-chu/ZLMediaKit into dev

This commit is contained in:
ziyue
2021-06-21 17:51:15 +08:00
7 changed files with 391 additions and 28 deletions

View File

@@ -47,6 +47,7 @@ void RtmpPusher::teardown() {
}
void RtmpPusher::onPublishResult(const SockException &ex, bool handshake_done) {
DebugL << ex.what();
if (ex.getErrCode() == Err_shutdown) {
//主动shutdown的不触发回调
return;