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().