DescriptionFixing problems with ICE candidate pair prioritization.
The main issue was that upon receiving a binding response with a srflx
mapped address attribute, the local candidate was not updated from local
to srflx. This means the two ICE agents view the same pair differently;
one sees it as "X<->srflx" while the other sees it as "local<->X". This
causes sub-optimal prioritization and could result in the wrong pair
being selected if using aggressive nomination.
The other issue was that TCP prflx candidates were not differentiated from
UDP prflx candidates. This lead to TCP prflx candidates prioritized above TCP
host candidates.
After fixing these issues, I was able to re-enable many disabled tests, as well
as restore the check for the candidate types of the controlled agent.
BUG=webrtc:1953, webrtc:2383
R=honghaiz@webrtc.org, pthatcher@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/62351c9923b557b41e90c228ae8c3209a10796c5
Patch Set 1 #Patch Set 2 : Fixing comment formatting. #
Total comments: 2
Patch Set 3 : Merge with master. #Patch Set 4 : Fixing line length. #
Messages
Total messages: 19 (9 generated)
|