mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
提高EasyDarwin的rtsp推流兼容性
This commit is contained in:
parent
ae64bc9bcb
commit
7701a883e3
@ -250,7 +250,7 @@ void RtspSession::handleReq_ANNOUNCE(const Parser &parser) {
|
|||||||
auto full_url = parser.FullUrl();
|
auto full_url = parser.FullUrl();
|
||||||
if(end_of(full_url,".sdp")){
|
if(end_of(full_url,".sdp")){
|
||||||
//去除.sdp后缀,防止EasyDarwin推流器强制添加.sdp后缀
|
//去除.sdp后缀,防止EasyDarwin推流器强制添加.sdp后缀
|
||||||
full_url = full_url.substr(0,full_url.length() - 3);
|
full_url = full_url.substr(0,full_url.length() - 4);
|
||||||
_mediaInfo.parse(full_url);
|
_mediaInfo.parse(full_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user