Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCPeerConnection.iceGatheringState is updated differently for datachannel than audio/video #2898

Open
docfaraday opened this issue Aug 28, 2023 · 0 comments

Comments

@docfaraday
Copy link
Contributor

From https://w3c.github.io/webrtc-pc/#rtcicegatheringstate-enum

The set of transports considered is the one presently referenced by the RTCPeerConnection's set of transceivers and the RTCPeerConnection's [[SctpTransport]] internal slot if not null.

[[SctpTransport]] is set when the answer is set:

https://w3c.github.io/webrtc-pc/#ref-for-dfn-sctptransport-4

Whereas transports are set on senders/receivers in sLD:

https://w3c.github.io/webrtc-pc/#ref-for-dfn-sendertransport-2
https://w3c.github.io/webrtc-pc/#ref-for-dfn-receivertransport-2

This means that we do not see icegatheringstatechange events/updates until we reach stable if we have a datachannel only, but we get those events/updates in have-local-offer if that datachannel is bundled with an audio or video msection!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant