v148 · WebRTC · Web APIs
SDP Inspector
Parse and highlight SDP offer/answer text to find the m=application section that signals data channel negotiation. Generate real SDP from RTCPeerConnection with and without alwaysNegotiateDataChannels: true and compare the results.
With alwaysNegotiateDataChannels: true — m=application appears in every offer even before createDataChannel() is called. Data channels can be created at any time without renegotiation.
Without the option (default) — m=application only appears if createDataChannel() was called before createOffer(). If the remote peer tries to open a channel first, a full renegotiation is required.
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗