← Back to release summary

RTCRtpSender.setStreams

Category
WebRTC
Type
New or changed feature
Status
Enabled by default (Chrome 76)
Intent stage
Prepare to ship

Summary

Allows changing the association between the track associated with an RTCRtpSender and streams. Stream association causes tracks in the same stream to be synchronized. This is useful, for example, if during a call a user switches from a front-facing camera to a back-facing camera and the application uses RTCRtpSender.replaceTrack(). On the receiving end the new track must be associated with the existing stream and synchronized with its auto track.

Standards & signals

Explainers: n/a

View on chromestatus.com