Changes between Version 1 and Version 2 of Using_Standalone_ICE
- Timestamp:
- Mar 16, 2009 2:39:12 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Using_Standalone_ICE
v1 v2 29 29 The following are terms used throughout this article: 30 30 31 ''' ice_strans''' ::32 Th e ICE stream transportas explained above.31 '''ICE stream transport (ice_strans)''' :: 32 This is the PJNATH ''class'' name for the transport that implement ICE negotiation, as explained above. 33 33 34 34 '''ICE session''' :: 35 One multimedia session (e.g. one '' 'call''' session) between two ICE endpoint, within the ''ice_strans''.35 One multimedia session (e.g. one ''call'' session) between two ICE endpoints, within the ''ice_strans''. One ''ice_strans'' object may be reused to facilitate multiple ICE sessions (but not simultaneously). 36 36 37 37 '''ICE endpoint''' :: … … 199 199 200 200 [[BR]] 201 == = Notes === #notes201 == Notes == #notes 202 202 203 203 Note that the information below applies to current PJSIP release (version 1.1 as of 2009/03/16). They may change (and definitely will be improved if we can) in subsequent releases. 204 204 205 === = Keep-alive ====205 === Keep-alive === 206 206 207 207 Once the ''ice_strans'' is created, the STUN and TURN keep-alive will be done automatically and internally. The default STUN keep-alive period is 15 seconds (PJ_STUN_KEEP_ALIVE_SEC), and TURN is also 15 seconds (PJ_TURN_KEEP_ALIVE_SEC). 208 208 209 === = IP address change ====209 === IP address change === 210 210 211 211 Changes in STUN mapped address is handled automatically by ''ice_strans'' via the STUN keep-alive exchanges, although currently there is no callback to notify application about this event. Call to [http://www.pjsip.org/pjnath/docs/html/group__PJNATH__ICE__STREAM__TRANSPORT.htm#g597a3c3493038d8b37ff0a63e8ad93e5 pj_ice_strans_enum_cands()] will get the updated address. … … 215 215 If IP address change is of application's concern, currently we can only recommend the application to implement this detection, and destroy/recreate the ''ice_strans'' once it detects the IP address change. 216 216 217 === = Negotiation time ====217 === Negotiation time === 218 218 219 219 ICE negotiation may take tens to hundreds of milliseconds to complete. The time it takes to complete negotiation depends on the number of candidates across all components in one single ''ice_strans'' and the round-trip between the two ICE endpoints. In our brief and non-scientific test, it took about 100-150 msec to complete, in scenario where two (SIP) endpoints were behind ADSL connection (both are in UK), with two components and 2-4 candidates per component. … … 221 221 But please also note that '''it may take seconds''' for ICE to report negotiation failure. ICE will wait until all STUN retransmissions have timed-out, and with the default setting, it will take 7-8 seconds before it will report ICE negotiation failure. 222 222 223 224 223 225 224 {{{