mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
完善rtmp服务器错误提示
This commit is contained in:
parent
042981c4e4
commit
6d08e2a243
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user