Share via


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

Syntax

var retval = RTCPeerConnection.getRemoteStreams();

Parameters

This method has no parameters.

Return value

Type: sequence<MediaStream>

The MediaStreams associated with the remote end of the connection.

See also

RTCPeerConnection