perchco / perchrtc

An iOS WebRTC demo using XirSys servers
MIT License
135 stars 34 forks source link

Signaling reconnection reliability. #3

Closed ceaglest closed 9 years ago

ceaglest commented 9 years ago

It's quite possible to get the signaling client into a state where it will not reconnect. We use reachability to trigger the re-authorization & re-connection process, but do not handle cases such as:

  1. Your WebSocket died, but the device is still considered "reachable".
  2. You attempt to fetch credentials, but the API request times out. The request should be retried up to a point.