With recent chrome updates, ice session getting disconnected if there is no data for 30 seconds and ice state is changed to 'failed'.Previously it used to work even after 10 min's. Still Firefox is behaving the same way.
Chrome is continuously sending STUN binding requests throughout the session, but not in Firefox.
Is STUN refreshes are mandatory ?
Is there any option to increase ICE connection timeout for time being?
Is ICE Restart API will work in both chrome & Firefox ?
Do we need to re-initialize DTLS session after ICE restart, or it will use the existing key?
How to handle network fluctuations/changes in chrome/firefox/native_clients for the following cases ?i) Internet is restored in < 1min (from the same router/ip).ii)Internet is restored in (10-30) min's (from the same router/ip).iii)Internet is restored from different router/wifi network, here we need to generate new candidates.
Note: In all the above cases remote peer in WebRTC Gateway (Asterisk/Janus).
Thanks,Ajay
Hi Peter,Thanks for the detailed explanation.Final conclusion is if there is no response/traffic for 30 sec's, ice is getting disconnected.
But this limit is very low it should be 120-300 secs, if we lost the network (my opinion)
But in real time call-center features (conferenceHold/remoteHold/supervising etc), we intentionally put the channel in suspended state i.e no read/write on socket for data(RTP/STUN).
In SIP signalling we use RE-INVITE's to check peer connectivity, if RTP timeout (5 min's) happens.
If there is no response for that re-invite then only we hangup that call.
Its good have a peerConnection callback to handle this kind of cases before making it failed.
---Ajay
---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/jUFmTalowfU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/a97798b8-a161-4706-bb81-b2b6df2b5660%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.