mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 20:15:58 +08:00
rtsp/http类型播放协议支持自定义header
This commit is contained in:
@@ -36,6 +36,7 @@ void HlsPlayer::fetchIndexFile() {
|
||||
}
|
||||
setCompleteTimeout((*this)[Client::kTimeoutMS].as<int>());
|
||||
setMethod("GET");
|
||||
addCustomHeader(this);
|
||||
sendRequest(_play_url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user