延迟清空状态

This commit is contained in:
xiongziliang
2021-01-17 10:28:06 +08:00
parent c445ad2cdf
commit d879c5901d
4 changed files with 11 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ void RtmpPusher::onPublishResult(const SockException &ex, bool handshake_done) {
}
if (ex) {
teardown();
shutdown(SockException(Err_shutdown,"teardown"));
}
}