These are chat archives for andyet/SimpleWebRTC

22nd
Jun 2018
Sergey Vasilev
@doozookn
Jun 22 2018 05:21
hi, can anyone tip me about how i can get the clients list in my room?
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:22
You can't. There's no feature like a presence channel.
The single way is to watch how the others joins and leaves the room and keep a list locally.
Sergey Vasilev
@doozookn
Jun 22 2018 05:23
M. I'm joined to room. And i can't get the list of clients?
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:24
SimpleWebRTC signaling server has NO presence channel.
To get a list of clients you need a presence channel.
Sergey Vasilev
@doozookn
Jun 22 2018 05:24
oh, i'm using socket.io
can i get the list by webrtc.connection?
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:25
Again, no presence channel for you.
I tried that some months ago.
Sergey Vasilev
@doozookn
Jun 22 2018 05:25
nothing understand
thx
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:26
You can't get the list of clients.
Sergey Vasilev
@doozookn
Jun 22 2018 05:26
i need to get count of peers in my room
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:26
You can't
There is no support for this.
Sergey Vasilev
@doozookn
Jun 22 2018 05:27
well, what is doing a getPeers()?
LuckyCyborg
@LuckyCyborg
Jun 22 2018 05:28
Maybe they added this in the last time.
Sergey Vasilev
@doozookn
Jun 22 2018 05:29
thanx, be understanding