I am using this library for audio calling and everything is working fine except when I dismiss my view controller, I get EXC_BAD_ACCESS error. I am making peerconnection (instance of RTCPeerconnection) a global variable and when the view controller dismisses, the application crashes because peerconnection is already deallocated. Please help me solve this. Thanks.
I am using this library for audio calling and everything is working fine except when I dismiss my view controller, I get EXC_BAD_ACCESS error. I am making peerconnection (instance of RTCPeerconnection) a global variable and when the view controller dismisses, the application crashes because peerconnection is already deallocated. Please help me solve this. Thanks.