Re: [webrtc-pc] Steps for RTCDtlsTransport state update are vague when handling RFC 8842 DTLS association re-establishment (#3111)

A couple of other facets of this question:

* While the new association is being established, does RTCDtlsTransport.state go to "connecting"? Note that the answer here could be "It depends"; maybe if we're in "connected" we don't, but if we're in "closed" or "failed" we do.
   - Note that RTCIceTransport.state *does* have some spec language for this case. ICE restart in "completed" transitions to "connected" (we don't have a "completed" state for DTLS though), while ICE restart in "disconnected" goes to "checking". Also note that spec does not say what happens to ICE state if we're doing an ICE restart from "failed", which is another bug I guess.

* If we are establishing a new DTLS association, and the old association sends or receives a fatal alert, do we surface that with RTCDtlsTransport.onerror?
   - I think we probably do not want to surface this, FWIW.

-- 
GitHub Notification of comment by docfaraday
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3111#issuecomment-4919788430 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 8 July 2026 22:31:24 UTC