← Back to release summary

RTCRtpTransceiver.stop()

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

Summary

Transceivers allow the sending and/or receiving of media in WebRTC. Stopping a transceiver makes it permanently inactive.

Motivation

Stopping a transceiver allows freeing its network port, encoder and decoder resources. This also makes its m= section in the SDP reusable by future transceivers, preventing the SDP from growing indefinitely as transceivers are added and removed. This is part of "Perfect Negotiation", which makes signaling in WebRTC race-free and less error-prone. For more details, see https://docs.google.com/presentation/d/1xcvf0udNeSH7s1FOY7RRqr1dEFvokZjn-MZPjwy3iXQ/edit?usp=sharing.

Standards & signals

Docs: N/A

Explainers: N/A

View on chromestatus.com