播放器新增schema参数支持指定拉流协议

This commit is contained in:
xia-chu
2026-03-11 22:24:21 +08:00
parent bb903fddcd
commit bb49e4dcdc
5 changed files with 10 additions and 6 deletions

View File

@@ -415,6 +415,7 @@ const string kWaitTrackReady = "wait_track_ready";
const string kPlayTrack = "play_track";
const string kProxyUrl = "proxy_url";
const string kRtspSpeed = "rtsp_speed";
const string kSchema = "schema";
const string kLatency = "latency";
const string kPassPhrase = "passPhrase";
const string kCustomHeader = "custom_header";

View File

@@ -638,6 +638,8 @@ extern const std::string kLatency;
extern const std::string kPassPhrase;
// 自定义rtsp/http头
extern const std::string kCustomHeader;
// 指定采用什么播放协议
extern const std::string kSchema;
} // namespace Client
} // namespace mediakit