完善rtmp服务器错误提示

This commit is contained in:
xiongziliang 2019-05-30 12:17:26 +08:00
parent 042981c4e4
commit 6d08e2a243

View File

@ -85,7 +85,7 @@ void RtmpSession::onRecv(const Buffer::Ptr &pBuf) {
_ui64TotalBytes += pBuf->size();
onParseRtmp(pBuf->data(), pBuf->size());
} catch (exception &e) {
shutdown(SockException(Err_shutdown,StrPrinter << "catch exception:" << e.what()));
shutdown(SockException(Err_shutdown, e.what()));
}
}