mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-02 04:00:54 +08:00
Refine: 优化webrtc对象追踪机制
This commit is contained in:
Submodule 3rdpart/ZLToolKit updated: 3236189803...6c476bed4f
@@ -43,9 +43,11 @@ static onceToken token([]() {
|
||||
|
||||
}//namespace RTC
|
||||
|
||||
static atomic<uint64_t> s_key{0};
|
||||
|
||||
WebRtcTransport::WebRtcTransport(const EventPoller::Ptr &poller) {
|
||||
_poller = poller;
|
||||
_identifier = to_string(reinterpret_cast<uint64_t>(this));
|
||||
_identifier = to_string(++s_key);
|
||||
_packet_pool.setSize(64);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user