Adding a playersStore

The playerStore can be useful to get the details of a given player from its ID.
This commit is contained in:
David Négrier 2021-07-06 17:13:08 +02:00
parent 194d6a6414
commit 46e6917df6
8 changed files with 62 additions and 24 deletions

View file

@ -466,7 +466,6 @@ export class RoomConnection implements RoomConnection {
this.onMessage(EventMessage.WEBRTC_START, (message: WebRtcStartMessage) => {
callback({
userId: message.getUserid(),
name: message.getName(),
initiator: message.getInitiator(),
webRtcUser: message.getWebrtcusername() ?? undefined,
webRtcPassword: message.getWebrtcpassword() ?? undefined,