- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS Platform:Windows10
Language:C++
There are two strange problems i encountered:
1.If remote_stream->stop first and then local_sream->close, it cannot close camera at all(LED is still on).
2.Memory leak: it will leak about 13M bytes for each conference.
The main steps of local hangup are below:
m_p2p_publication->Stop();
m_remote_stream->DetachVideoRenderer();
m_local_stream->Close();
One special test to illustrate:
step 1: LocalPeer do not register OnStreamAdded callback and do not publish local stream.
step 2: So LocalPeer will do nothing after Connect
step 3: RemotePeer publish stream manually and stop after a while.
step 4: memory will leak about 13MBytes after remote stop publish every time.
Any Problems? Thank you!
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page