We are having an issue where in a call with participants A and B, if participant B refreshes / leaves by calling quickconnect.close() the RTCPeerConnection object on participant's A chrome remains alive. (variable is not being picked up by garbage collector or .close() is not being executed on it)
Looking deep into rtc-quickconnect source quickconnect.close() will use rtc-tools to clean the RTCPeerConnection only on the participant executing the quickconnect.close function, not the other ones.
Is this correct? If so, is there any api we could use to close peer connections upon leaving?
Something like :
quikconnect.on('participant:left',function(rtcPeerConnectionInstance){
rtcPeerConnectionInstance.close();
})