Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels