IP Change API

IK
Imad Khazali
Thu, Jul 19, 2018 9:52 PM

Hi PJSIP Support Team,

 

I am using the Handle IP Change API from Fix #2041, but whenI change the network during a call (want to keep the call), I can see thatre-inivite is triggered but no audio is heard after that.

 

From the PJSIP Wiki on IP change handling, I see the belowstatement. Does this mean I need to wait 15 secbefore handling the IP Change? Ifnot, why the media stops after network change? Comparing the Invite andre-invite (Triggered by IP change) messages, looks tome that the ICE candidates did not change, what do you think?

 
“If ICE media transport is used, and STUN isenabled on the media transport, then the media transport will automaticallyupdate its publicly mapped IP address from the STUN Binding response. Thetransport should send STUN Binding request periodically (approximately every 15seconds) as NAT keep-alive mechanism, so the address change will be detected bythe transport automatically during this operation.”

Thanks,
Imad

Hi PJSIP Support Team,   I am using the Handle IP Change API from Fix #2041, but whenI change the network during a call (want to keep the call), I can see thatre-inivite is triggered but no audio is heard after that.   >From the PJSIP Wiki on IP change handling, I see the belowstatement. Does this mean I need to wait 15 secbefore handling the IP Change? Ifnot, why the media stops after network change? Comparing the Invite andre-invite (Triggered by IP change) messages, looks tome that the ICE candidates did not change, what do you think?   “If ICE media transport is used, and STUN isenabled on the media transport, then the media transport will automaticallyupdate its publicly mapped IP address from the STUN Binding response. Thetransport should send STUN Binding request periodically (approximately every 15seconds) as NAT keep-alive mechanism, so the address change will be detected bythe transport automatically during this operation.” Thanks, Imad