注释,说明

注释,说明
This commit is contained in:
3503207480@qq.com
2019-08-30 11:17:27 +08:00
parent e3139134e8
commit 036b36f012
12 changed files with 37 additions and 12 deletions

View File

@@ -361,10 +361,11 @@ void RtspSession::onAuthSuccess() {
strongSelf->shutdown(SockException(Err_shutdown,err));
return;
}
//找到了应的rtsp流
//找到了应的rtsp流
strongSelf->_aTrackInfo = SdpParser(rtsp_src->getSdp()).getAvailableTrack();
if (strongSelf->_aTrackInfo.empty()) {
//该流无效
DebugL << "无trackInfo该流无效";
strongSelf->send_StreamNotFound();
strongSelf->shutdown(SockException(Err_shutdown,"can not find any availabe track in sdp"));
return;