Add peer disconnect event dispatch
This commit is contained in:
@@ -314,6 +314,8 @@ export class PeerManager {
|
||||
this.bootstrapPeerConnection = null;
|
||||
}
|
||||
|
||||
this.dispatchEvent(PeerEventTypes.PEER_DISCONNECTED, {peerID:remotePeerID});
|
||||
|
||||
}
|
||||
|
||||
async disconnectFromPeer(remotePeerID: string) {
|
||||
|
||||
Reference in New Issue
Block a user