close method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
The close method closes the current peer connection. Once the peer connection is closed, the signalingState is set to "closed".
Syntax
RTCPeerConnection.close();
Parameters
This method has no parameters.
Return value
This method does not return a value.