mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 00:47:34 +08:00
Player: 添加kWaitTrackReady选项决定播放器是否等待所有track ready再回调
This commit is contained in:
@@ -306,6 +306,7 @@ const string kTimeoutMS = "protocol_timeout_ms";
|
||||
const string kMediaTimeoutMS = "media_timeout_ms";
|
||||
const string kBeatIntervalMS = "beat_interval_ms";
|
||||
const string kBenchmarkMode = "benchmark_mode";
|
||||
const string kWaitTrackReady = "wait_track_ready";
|
||||
}
|
||||
|
||||
} // namespace mediakit
|
||||
|
||||
@@ -331,6 +331,8 @@ extern const string kMediaTimeoutMS;
|
||||
extern const string kBeatIntervalMS;
|
||||
//是否为性能测试模式,性能测试模式开启后不会解析rtp或rtmp包
|
||||
extern const string kBenchmarkMode;
|
||||
//播放器在触发播放成功事件时,是否等待所有track ready时再回调
|
||||
extern const string kWaitTrackReady;
|
||||
}
|
||||
} // namespace mediakit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user