mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 09:47:33 +08:00
@@ -128,7 +128,7 @@ void RtspSession::onRecv(const Buffer::Ptr &buf) {
|
||||
void RtspSession::onWholeRtspPacket(Parser &parser) {
|
||||
string method = parser.method(); //提取出请求命令字
|
||||
_cseq = atoi(parser["CSeq"].data());
|
||||
if (_content_base.empty() && method != "GET") {
|
||||
if (_content_base.empty() && method != "GET" && method != "POST" ) {
|
||||
RtspUrl rtsp;
|
||||
rtsp.parse(parser.url());
|
||||
_content_base = rtsp._url;
|
||||
|
||||
Reference in New Issue
Block a user