DoubangoTelecom / sipml5

The world's first HTML5 SIP client (WebRTC)
BSD 3-Clause "New" or "Revised" License
939 stars 456 forks source link

One way voice in case of ice connection state Failed #293

Open jnvipul28 opened 7 years ago

jnvipul28 commented 7 years ago

We are using asterisk as a sip media and on making a call from asterisk to sipml5. Sometimes we face voice blank issues.

As it is a single premise setup therefore we are not using any stun or turn server for ice candidate generation so only host type ice candidate is generated . We are using chrome 57 browser and on exploring browser logs chrome://webrtc-internals we found that there was failure in iceConnection state change .As per this link this can be due to incompatibility of ice candidates.

This is a random problem and it generally solved by re registering the webrtc entity from sipml side. Since we are using only host type ice candidates can iceConnection state be failed? And if so can you suggest the cause for this and how to solve this problem.

This solution suggests to restart the ice server. Is this possible using sipml5. If yes how?