HLS: 加速track就绪速度 (#1286)

* 加速track的准备速度

* 重命名为isAllTrackReady

* 无须缓冲帧时,暂不用转换为可缓存帧

Co-authored-by: 夏楚 <771730766@qq.com>
This commit is contained in:
alexliyu7352
2021-12-17 14:47:17 +08:00
committed by GitHub
parent f27893ffa5
commit 0b2e55429d
2 changed files with 14 additions and 1 deletions

View File

@@ -107,7 +107,14 @@ public:
* @param trackReady 是否获取已经准备好的Track
*/
vector<Track::Ptr> getTracks(bool trackReady = true) const override;
/**
* 返回是否所有track已经准备完成
*/
bool isAllTrackReady() const {
return _all_track_ready;
}
/**
* 添加aac静音轨道
*/