Changes between Initial Version and Version 2 of Ticket #1972
- Timestamp:
- Oct 28, 2016 3:56:08 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1972
- Property Status changed from new to closed
- Property Resolution changed from to fixed
- Property Summary changed from ICE initialization hangs when using DNS SRV and unresolvable TURN server to ICE initialization issues when creating a component/candidate fails.
-
Ticket #1972 – Description
initial v2 1 Reported that when making call with IPv6, ICE/TURN, and DNS SRV enabled, the media initialization seems to get stuck and no INVITE message is not generated/sent.1 * ICE initialization hangs when using DNS SRV and unresolvable TURN server. 2 2 3 After investigation it turns out that ICE transport does not update TURN candidate status from {{{PJ_EPENDING}}} when the asynchronous TURN server name resolution fails, so that ICE initialization never reaches state {{{PJ_ICE_STRANS_STATE_READY}}} and callback {{{on_ice_complete()}}} never gets invoked.3 When making call with IPv6, ICE/TURN, and DNS SRV enabled, the media initialization seems to get stuck and no INVITE message is not generated/sent. 4 4 5 Thanks Bing Huan Chio for the report. 5 After investigation it turns out that ICE transport does not update TURN candidate status from {{{PJ_EPENDING}}} when the asynchronous TURN server name resolution fails, so that ICE initialization never reaches state {{{PJ_ICE_STRANS_STATE_READY}}} and callback {{{on_ice_complete()}}} never gets invoked. 6 7 * Assertions when trying to access other components/candidates. 8 9 Failure in the process of creating a component/candidate, such as connection failure to a TURN server, could also lead to other problems, such as assertions when trying to access other components/candidates, which have not been initialized yet. 10 11 * Crash when accessing the failed component. 12 13 Failure in creating a TURN candidate would result in crash when trying to access the already-destroyed TURN socket. 14 15 Thanks to Bing Huan, Chio for the report.