Back to Content

RTCTrackEvent: streams property

files/en-us/web/api/rtctrackevent/streams/index.md

latest505 B
Original Source

{{APIRef("WebRTC")}}

The WebRTC API interface {{domxref("RTCTrackEvent")}}'s read-only streams property specifies an array of {{domxref("MediaStream")}} objects, one for each of the streams that comprise the track being added to the {{domxref("RTCPeerConnection")}}.

Value

An {{jsxref("Array")}} of {{domxref("MediaStream")}} objects, one for each stream that make up the new track.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}