mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
兼容一些不规范的播放器
This commit is contained in:
parent
37c397c4a4
commit
b92e837640
@ -535,7 +535,7 @@ inline void RtspSession::send_SessionNotFound() {
|
||||
}
|
||||
bool RtspSession::handleReq_Setup(const Parser &parser) {
|
||||
//处理setup命令,该函数可能进入多次
|
||||
auto controlSuffix = parser.FullUrl().substr(_strContentBase.size());
|
||||
auto controlSuffix = split(parser.Url(),"/").back();// parser.FullUrl().substr(_strContentBase.size());
|
||||
if(controlSuffix.front() == '/'){
|
||||
controlSuffix = controlSuffix.substr(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user