Re: [webrtc-pc] addIceCandidate may not need to throw an error when no remoteDescription (#2519)

Suppose you delegate caching of ICE candidates to the library.  Now what happens if you do:

  * pc.setLocalDecription
  * pc.setRemoteDescription
  * pc.addICECandidate
  * pc.restartICE

How would the library know whether the ICE candidate belongs to the first ICE session (and therefore be applied immediately) or to the second ICE session (and therefore be cached)?

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


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

Received on Monday, 26 April 2021 12:52:02 UTC