Closed antranvn closed 5 years ago
Should close video from the MainActivity release
The NetworkMonitoAutoDetect in webrtc internal register, i saw your close code, it's should ok
I also found this error. Have you found the solution for this error?
I think we should close all PeerConnection in peerConnectionMap.
for (Map.Entry<BigInteger, JanusConnection> entry: peerConnectionMap.entrySet()) {
if (entry.getValue().peerConnection != null) {
entry.getValue().peerConnection.dispose();
}
}
What webrtc version are you using now ?
This is not about the version of webrtc. You should close every peer connection when you save these peer connection in the variable, peerConnectionMap. in this example project. Otherwise, the PeerConnectionClient will not exist successfully.
@lyapple2008 Yes, should close all
You are right @lyapple2008. Thank you both :)
Its still crashing with some exceptions when doing above code A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0x8af0d610 in tid 26834 (pool-1-thread-1) this is crash
you should alse disconnect websocet or you will not connect ice server
Hello