hls/http-ts播放器新增性能测试模式

This commit is contained in:
ziyue
2022-02-11 11:04:16 +08:00
parent 91c0a563c3
commit 8338773767
4 changed files with 28 additions and 14 deletions

View File

@@ -16,7 +16,7 @@
namespace mediakit {
class TsPlayer : public HttpTSPlayer , public PlayerBase {
class TsPlayer : public HttpTSPlayer, public PlayerBase {
public:
TsPlayer(const toolkit::EventPoller::Ptr &poller);
~TsPlayer() override = default;
@@ -37,6 +37,7 @@ protected:
private:
bool _play_result = true;
bool _benchmark_mode = false;
};
} // namespace mediakit