mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 12:18:12 +08:00
保证不丢帧
This commit is contained in:
@@ -114,8 +114,9 @@ private:
|
||||
private:
|
||||
mutable recursive_mutex _mtx;
|
||||
unordered_map<int,Track::Ptr> _track_map;
|
||||
unordered_map<int,function<void()> > _trackReadyCallback;
|
||||
bool _allTrackReady = false;
|
||||
unordered_map<int,List<Frame::Ptr> > _frame_unread;
|
||||
unordered_map<int,function<void()> > _track_ready_callback;
|
||||
bool _all_track_ready = false;
|
||||
Ticker _ticker;
|
||||
int _max_track_size = 2;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user