rtsp player add query param for content-base (#2637)

rtsp以content-base为基准,增加url的query参数(根据抓包分析,vlc是这样处理的),以兼容海康rtsp录像流与
直播流,主要是为了兼容这两个issue: #2624 #2501
This commit is contained in:
xiongguangjie
2023-07-10 10:53:02 +08:00
committed by GitHub
parent 8ee91d705b
commit 4e33f5b477
5 changed files with 240 additions and 210 deletions

View File

@@ -320,7 +320,6 @@ void splitUrl(const std::string &url, std::string &host, uint16_t &port) {
host = url.substr(0, pos);
checkHost(host);
}
#if 0
//测试代码
static onceToken token([](){