removeStream 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 removeStream method takes a MediaStream and removes it as a local source from an RTCPeerConnection object.
Syntax
RTCPeerConnection.removeStream(stream);
Parameters
stream
Type: MediaStreamThe MediaStream to remove from the RTCPeerConnection.
Return value
This method does not return a value.