RTCPeerConnection.getLocalStreams, getRemoteStreams have been deprecated

Published: | Categories: Audio & Video

Description

The RTCPeerConnection.getLocalStreams and getRemoteStreams methods are now considered deprecated due to the removal from the spec. Also, the addTrack method now takes any MediaStream that may be returned by getLocalStreams. Use the getSenders and getReceivers methods instead.

References