mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
parent
2cc69d1be6
commit
8f03105baa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user