修复bug

This commit is contained in:
xiongziliang 2018-10-29 15:02:18 +08:00
parent dfe213abc3
commit 1faeda2f33

View File

@ -242,6 +242,9 @@ bool RtspSession::handleReq_Describe() {
} }
//恢复现场 //恢复现场
strongSelf->_parser = parserCopy; strongSelf->_parser = parserCopy;
char tmp[2 * 1024];
strongSelf->_pcBuf = tmp;
if(!success){ if(!success){
//未找到相应的MediaSource //未找到相应的MediaSource
strongSelf->send_StreamNotFound(); strongSelf->send_StreamNotFound();