Opened 15 years ago

Closed 14 years ago

#1077 closed enhancement (fixed)

Automatically reallocate TURN connection upon Refresh request failure, and notify the application if the allocation retry also fails (thanks Jan Boquist for the suggestion)

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

Description (last modified by bennylp)

If TURN Refresh request fails, TURN connection (the TURN socket) will be destroyed.

The ICE stream transport should retry to reconnect and reallocate on this event.

And if the reconnection attempt fails, it should notify the application. This would allow application to do something about the event.

Change History (2)

comment:1 Changed 14 years ago by bennylp

  • Description modified (diff)
  • Summary changed from Callback to notify application when TURN refresh fails (thanks Jan Boquist for the suggestion) to Automatically reallocate TURN connection upon Refresh request failure, and notify the application if the allocation retry also fails (thanks Jan Boquist for the suggestion)

Updated the spec to automatically reconnect/reallocate TURN connection upon Refresh failure.

comment:2 Changed 14 years ago by bennylp

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

(In [3212]) Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details:

  • added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation
  • also added new on_ice_transport_error() pjsua callback to allow application to react to the failure.
Note: See TracTickets for help on using tickets.