This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

localStreams

Summary

Returns an array of MediaStream objects added to the connection with addStream().

Property of apis/webrtc/RTCPeerConnectionapis/webrtc/RTCPeerConnection

Syntax

Note: This property is read-only.

var result = element.localStreams;

Return Value

Returns an object of type MediaStreamArrayMediaStreamArray

An array of local MediaStream objects that were added with addStream().