Commit 9cb70466 by xiongziliang

map修改为unordered_map

parent 4908ab4b
...@@ -108,8 +108,8 @@ public: ...@@ -108,8 +108,8 @@ public:
} }
protected: protected:
AMFValue _metadata; AMFValue _metadata;
map<int, RtmpPacket::Ptr> _mapCfgFrame; unordered_map<int, RtmpPacket::Ptr> _mapCfgFrame;
map<int,uint32_t> _mapStamp; unordered_map<int,uint32_t> _mapStamp;
mutable recursive_mutex _mtxMap; mutable recursive_mutex _mtxMap;
RingBuffer<RtmpPacket::Ptr>::Ptr _pRing; //rtp环形缓冲 RingBuffer<RtmpPacket::Ptr>::Ptr _pRing; //rtp环形缓冲
bool _bRegisted = false; bool _bRegisted = false;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论