rtc-io / rtc-quickconnect

An opinionated approach to creating WebRTC apps (both media and datachannels supported)
Apache License 2.0
187 stars 43 forks source link

Fix reconnections if peer data is removed on disconnect #90

Closed nathanoehlman closed 6 years ago

nathanoehlman commented 6 years ago

In the event of a disconnection, some signallers remove any information about the connected peers.

This results in problems in a reconnection scenario where the reconnection relies on the peer information existing in order to facilitate the reconnection process. In order to cater for this, in a reconnection the peer data for the reconnecting peers is preserved across the reconnection.

silviapfeiffer commented 6 years ago

👍