Share via


addStream 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 addStream method takes a MediaStream and adds it as a local source to an RTCPeerConnection object.

Syntax

RTCPeerConnection.addStream(stream);

Parameters

Return value

This method does not return a value.

See also

RTCPeerConnection