Fix manage webrtc room id
This commit is contained in:
parent
59127534ac
commit
6dc309db34
@ -205,7 +205,11 @@ export class IoSocketController {
|
||||
}));
|
||||
|
||||
//disconnect webrtc room
|
||||
if(!Client.webRtcRoomId){
|
||||
return;
|
||||
}
|
||||
Client.leave(Client.webRtcRoomId);
|
||||
delete Client.webRtcRoomId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user