Commit 65fd9663 authored by Committed by Olivier CrêteBrowse files
discovery: add a unique local preference value per turn server
This value is built from the position in the component turn servers list, and from the base address network interface position in the list of network interfaces. This value is used to ensure a unique candidate priority for each one. Also ensure that the fields that compose the local preference don't overlap, by checking their maximum value. See RFC-8445, section 18.104.22.168 "Guidelines for Choosing Type and Local Preferences".
Showing with 108 additions and 17 deletions