Ticket #372 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Handle case where STUN mapped address has changed in ICE

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjnath Version: trunk
Keywords: Cc: Ravin Suri
Backport to 1.x milestone: Backported:

Description

It has been observed that on some NAT router, after some time (in this case, 8-10 hours of idle), NAT may assign different binding even when STUN keep alive packets have been sent periodically. In this case, ICE transport should update the srflx candidate accordingly.

Thanks Ravin Suri for reporting this.

Change History

comment:1 Changed 10 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r1434:

  • ICE stream transport will update the srflx address if the mapped address reported in STUN keep alive is different than current srflx address.
  • Added callback to notify application about this address change.
Note: See TracTickets for help on using tickets.