完善rtmp服务器错误提示
This commit is contained in:
parent
042981c4e4
commit
6d08e2a243
|
|
@ -85,7 +85,7 @@ void RtmpSession::onRecv(const Buffer::Ptr &pBuf) {
|
||||||
_ui64TotalBytes += pBuf->size();
|
_ui64TotalBytes += pBuf->size();
|
||||||
onParseRtmp(pBuf->data(), pBuf->size());
|
onParseRtmp(pBuf->data(), pBuf->size());
|
||||||
} catch (exception &e) {
|
} catch (exception &e) {
|
||||||
shutdown(SockException(Err_shutdown,StrPrinter << "catch exception:" << e.what()));
|
shutdown(SockException(Err_shutdown, e.what()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue