You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const existingSessionId = localStorage.getItem("owdSessionId");
if (existingSessionId) {
// Reconnect using the existing session ID
reconnectToSession(existingSessionId);
}
we might need to do something like retain an active mapping of session tokens to device connections. This way, when a device reconnects, the server can match it with the correct peer. - but not sure how we would do this.
on the display side we need to have a way of having a session more persistent eg
then on load
we might need to do something like retain an active mapping of session tokens to device connections. This way, when a device reconnects, the server can match it with the correct peer. - but not sure how we would do this.
look at iceRestart
oh also we would likely need to store other bits locally
All needs some careful thought and refactoring a bit..
The text was updated successfully, but these errors were encountered: