W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2017

Re: [webrtc-pc] addIceCandidate may add ice candidate to the wrong remote description

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 May 2017 04:22:52 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-302605025-1495167770-sysbot+gh@w3.org>
With the concept ufrag identifying from multiple ICE generations and remote descriptions, it is not very clear how various other steps would behave `addIceCandidate` when called with old ufrags not belonging to `remoteDescription`.

- As mentioned, one could attempt to add candidate to `currentRemoteDescription` when there is a `pendingRemoteDescription`.
- `pendingRemoteDescription` can be updated multiple times with different ufrags, but the older remote descriptions are not saved. So if calling with older ufrags, do they still get "remembered" by the ICE agent and get applied accordingly? And if so on success do the candidate get added to the latest `pendingRemoteDescription`?

It seems that the current description for `addIceCandidate` is only applicable to the particular SDP in `remoteDescription`, thus only a particular ICE generation. If so is the statement _"Use candidate.ufrag to identify the ICE generation"_ and then proceed to process the candidate still make any sense?

GitHub Notification of comment by soareschen
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1227#issuecomment-302605025 using your GitHub account
Received on Friday, 19 May 2017 04:22:58 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:41 UTC