open-webrtc-toolkit / owt-client-android

Open WebRTC Toolkit client SDK for Android applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
195 stars 96 forks source link

How can I dispose PeerConnectionFactory of this sdk explicitly? #186

Closed tanaymondal closed 4 years ago

tanaymondal commented 4 years ago

As I can see in code, PeerConnectionFactory.dispose() is not called anywhere in sdk as per one time initialization strategy. In our app, we are already using our own Webrtc Code for a p2p call. But we are trying to using Intel conference SDK for MCU call. But internally in Intel SDK PeerConnectionFactory is not disposed anywhere. Which is causing a crash with our existing webrtc code base. How can I dispose PeerConnectionFactory of this sdk explicitly?

N.B. We are using AAR conference lib in our app.