reconnect when detecting session id change, so we send invite if needed

This commit is contained in:
Bruno Windels 2022-04-27 19:41:02 +02:00
parent bffce7fafe
commit 4f2999f8d8

View File

@ -143,7 +143,9 @@ export class Member {
const localMedia = this.localMedia;
this.localMedia = undefined;
this.disconnect(false);
this.localMedia = localMedia;
// connect again, as the other side might be waiting for our invite
// after refreshing
this.connect(localMedia!, this.localMuteSettings!);
});
}
this.callDeviceMembership = callDeviceMembership;