Room Peer Filter/Counter

This commit is contained in:
Yasin İLKAYA 2023-06-04 15:43:23 +03:00
parent df792f40cd
commit 4ba04c6d4f
3 changed files with 2 additions and 9 deletions

View File

@ -145,11 +145,4 @@ export default class Room extends EventTarget
return cup; return cup;
} }
} }
async peerCount(){
let {count} = await this.mwse.EventPooling.request({
type:'room/peer-count',
roomId: this.roomId
}) as {count:Number};
return count;
}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long