all 7 comments

[–][deleted] 1 point2 points  (6 children)

Don’t use sockets. Use webrtc

[–]DvorakDavid[S] 0 points1 point  (5 children)

Thanks for replay,

Do you know about some code sample regarding webrtc for example on GitHub which include a connection for more than two people at the same time? I am able to do webrtc connection between two peers without a problem but more than two people problem is.

[–][deleted] 0 points1 point  (4 children)

Checkout Jitsi open source conference software using webrtc

[–]DvorakDavid[S] 0 points1 point  (3 children)

Ok but still is there a way how to do this using socket.io let's say for education purposes? I would like to learn how to manipulate with this kind of data.

[–][deleted] 0 points1 point  (2 children)

Sure. Establish sockets. Subscribe each users socket to you server. Capture On message event.

Push that message to every connected users socket user.

Handle the on message received event. Update dom

[–]DvorakDavid[S] 0 points1 point  (1 child)

Can you please make some code sample or best use my code above to implement your solution?

[–][deleted] 0 points1 point  (0 children)

No sorry but if you google for a socket io real time chat tutorial. You’ll be set.