RestComm / olympus

RestComm WebRTC Application
http://www.restcomm.com/
GNU Affero General Public License v3.0
15 stars 19 forks source link

WebRTC doesn't unregister client when browser tab is closed #139

Closed croufay closed 6 years ago

croufay commented 7 years ago

Original is referenced here : https://github.com/RestComm/Restcomm-Connect/issues/2485

@charles currently to remove a registration RC will have to wait for a Request Timeout on the first OPTION sent out. So this will be the scenario:

  1. WebRTC client registers and later closes the tab.
  2. After 60 seconds RC will send OPTIONS to client
  3. After ~ 12 seconds, RC will received Request Timeout on the OPTIONS
  4. RC will remove registration charles

@gvagenas if a calls comes through for that client within those12 seconds, Restcomm-connect still thinks that the client is still registers and sends an INVITE and the callee keeps ringing waiting for the timeout that is what the customer reported and I don't think there is an easy way around that without reducing the timeout to some really low number @charles thats exactly what will happen. This is the way it was decided. @antonis is there any recent update on the WebRTC Olympus close tab issue? I mean, any way to unregister on close tab?