webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

AddICECandidate might not verify ufrag

Open jech opened this issue 2 years ago • 0 comments

Quoting https://w3c.github.io/webrtc-pc/#dom-peerconnection-addicecandidate:

  1. If candidate.usernameFragment is not null, and is not equal to any username fragment present in the corresponding media description of an applied remote description, return a promise rejected with a newly created OperationError.

However, I cannot find the place in the Pion code where we check that that ufrag matches the SDP, so I suspect that we're wrongly accepting candidates from the wrong generation.

jech avatar Jul 11 '23 20:07 jech