Skip to content

RTCPeerConnection object not clearing after participant leaves #81

Description

@magestican

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();
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions