提升按需转协议性能与体验

This commit is contained in:
xiongziliang
2020-11-15 00:59:31 +08:00
parent 0f54351811
commit 1cc3add97f
2 changed files with 15 additions and 2 deletions

View File

@@ -183,6 +183,8 @@ public:
void onAllTrackReady() override;
private:
bool _is_enable = false;
Ticker _last_check;
Stamp _stamp[2];
MultiMuxerPrivate::Ptr _muxer;
std::weak_ptr<MultiMuxerPrivate::Listener> _track_listener;