Transport id in oniceconnectionstatechange, onconnectionstatechange handlers

Skip to first unread message

Alexander Abagian

Sep 20, 2022, 12:19:14 PM (10 days ago) Sep 20
to discuss-webrtc

My PeerConnection includes several transports (bundles). But oniceconnectionstatechange(event) and onconnectionstatechange(event) parameter doesn't show which transport changed the connection state. Is it a defect, or these events shows aggregated state for all PeerConnection transports ?

I also encovered that now only one handler is shown in webrtc-internals log, while two transport channels were used in the same PeerConnection (and both succeeded). Recently, there were two of them (one per channel with same state if both were OK).

Philipp Hancke

Sep 20, 2022, 1:10:05 PM (10 days ago) Sep 20
those states are aggregate states by design.

If you don't want to use BUNDLE then you'll need to go to the changes of the individual ICETransport
and DTLSTransport

What you may have seen in webrtc-internals until recently might have been the "legacy" state change which was defined differently and is now gone?


You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages