rtsp支持指定播放单一track (#1937)

This commit is contained in:
custompal
2022-09-13 16:27:00 +08:00
committed by GitHub
parent d04a6d4355
commit 08789454c3
7 changed files with 64 additions and 26 deletions

View File

@@ -375,6 +375,9 @@ extern const std::string kBeatIntervalMS;
extern const std::string kBenchmarkMode;
// 播放器在触发播放成功事件时是否等待所有track ready时再回调
extern const std::string kWaitTrackReady;
// rtsp播放指定track可选项有0(不指定,默认)、1(视频)、2(音频)
// 设置方法:player[Client::kPlayTrack] = 0/1/2;
extern const std::string kPlayTrack;
} // namespace Client
} // namespace mediakit