← Back to release summary

RTCRtpSender.replaceTrack

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 65)
Intent stage
None

Summary

This allows you to seamlessly change which track is being sent without having to renegotiate at the expense of another offer/answer cycle. For example, you might want to switch which video to send or to temporarily not send video, without any disruption in audio or at the cost of an RTT delay. It can also be used to control whether or not to send with replaceTrack(null).

Standards & signals

View on chromestatus.com