Skip to content

peer-reflexive priority (pair->prflx_priority) updates

Fabrice Bellet requested to merge bellet/libnice:prflx-priority-update into master

This merge request contains two patches:

  • the first patch copies the value of prflx_priority from the succeeded pair into the discovered pair, instead of creating a new value (the uniqueness criterion would make it different from its parent succeeded pair). This is achieved in a way similar to the underlying gsockptr socket that is copied from the succeeded pair into the discovered pair too. These informations are not required with the discovered pair itself, but the discovered pair may become the succeeded pair eventually, and we need this prflx_priority from its parent pair to send keepalives.

  • the second patch copies the value of prfx_priority into the selected pair, because this value may be used when sending keepalives, and is supposed to reuse the same value than the one used during the conncheck.

Edited by Olivier Crête

Merge request reports