Share via


getLocalStreams 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 getLocalStreams method returns a sequenced array of MediaStreams that are associated with the local end of the connection.

Syntax

var retval = RTCPeerConnection.getLocalStreams();

Parameters

This method has no parameters.

Return value

Type: sequence<MediaStream>

The MediaStreams associated with the local end of the connection.

See also

RTCPeerConnection