You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After the RTCPeerConnection is closed, calls to getConnectionState() throw a NPE.
To Reproduce
Steps to reproduce the behavior:
Establish a RTCPeerConnection
Close it.
Call getConnectionsState()
See NPE.
Expected behavior
Simple state methods should return a default value if the native object was discarded. In this case RTCPeerConnectionState.CLOSED or DISCONNECTED.