mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 02:34:26 +08:00
修复rtsp over http的bug
This commit is contained in:
parent
37d842e444
commit
db1e850ef3
@ -148,7 +148,7 @@ void RtspSession::onRecv(const Buffer::Ptr &pBuf) {
|
||||
void RtspSession::onWholeRtspPacket(Parser &parser) {
|
||||
string strCmd = parser.Method(); //提取出请求命令字
|
||||
_iCseq = atoi(parser["CSeq"].data());
|
||||
if(_strContentBase.empty()){
|
||||
if(_strContentBase.empty() && strCmd != "GET"){
|
||||
_strContentBase = parser.Url();
|
||||
_mediaInfo.parse(parser.FullUrl());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user