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

@@ -400,6 +400,7 @@ const string kProxyUrl = "proxy_url";
const string kRtspSpeed = "rtsp_speed";
const string kLatency = "latency";
const string kPassPhrase = "passPhrase";
const string kCustomHeader = "custom_header";
} // namespace Client
} // namespace mediakit

View File

@@ -630,6 +630,8 @@ extern const std::string kRtspSpeed;
extern const std::string kLatency;
// Set SRT PassPhrase
extern const std::string kPassPhrase;
// 自定义rtsp/http头
extern const std::string kCustomHeader;
} // namespace Client
} // namespace mediakit