rtsp/http类型播放协议支持自定义header

This commit is contained in:
xia-chu
2025-09-10 21:51:26 +08:00
parent 88b422db08
commit a8f5cedd84
8 changed files with 40 additions and 15 deletions

View File

@@ -36,6 +36,7 @@ void HlsPlayer::fetchIndexFile() {
}
setCompleteTimeout((*this)[Client::kTimeoutMS].as<int>());
setMethod("GET");
addCustomHeader(this);
sendRequest(_play_url);
}