Bug 85224

Summary: Implement candidate selection as per RFC
Product: nice Reporter: Sebastian Dröge (slomo) <slomo>
Component: GeneralAssignee: Olivier Crête <olivier.crete>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastian Dröge (slomo) 2014-10-20 08:46:15 UTC
Currently libnice does not seem to select candidates based on their "goodness" but just seems to take whatever comes first. IIRC the RFC defines a rating algorithm which should be implemented, e.g. local network candidates should be preferred over indirect ones, etc.
Comment 1 Olivier Crête 2014-10-22 18:41:05 UTC
This should already happen. Each candidate has a different priority. When creating candidate pairs (matching a local and a remote candidate), the pair's priority is the product of the priorities of the local and remote candidates. The highest priority pair is then selected. So it should prefer the "best" candidate that works.

Or do you mean something else ?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.