mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
Refine: 优化webrtc对象追踪机制
This commit is contained in:
parent
61c55f4030
commit
f45830cbb8
@ -1 +1 @@
|
||||
Subproject commit 323618980315228e46a68204c88c482c150aab82
|
||||
Subproject commit 6c476bed4f0d0ee51bb550757aad71b4a412d92f
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user