通过mp4/hls录制测试

This commit is contained in:
xiongziliang
2018-10-28 01:04:18 +08:00
parent 4876e9ff5c
commit cb78764f1d
4 changed files with 15 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ protected:
*/
virtual void onTrackFrame(const Frame::Ptr &frame) {};
private:
mutable mutex _mtx;
mutable recursive_mutex _mtx;
map<int,Track::Ptr> _track_map;
map<int,function<void()> > _trackReadyCallback;
bool _allTrackReady = false;