Bug 85224 - Implement candidate selection as per RFC
Summary: Implement candidate selection as per RFC
Status: RESOLVED INVALID
Alias: None
Product: nice
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Olivier Crête
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-20 08:46 UTC by Sebastian Dröge (slomo)
Modified: 2015-03-28 00:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.