DEV Community

Discussion on: Asynchronous, Bidirectional Connected Chat App with SSE in PHP

Collapse
 
volomike profile image
Mike Ross πŸ‡ΊπŸ‡Έ

Three questions I have with this:

  1. Can this be forked and changed to be a simple text chat app? So, instead of video/audio sharing, one does real-time sharing of text chat (think IRC chat)?

  2. Your example I assume is peer to peer. (It's late tonight and I don't have a buddy to test with until they come online tomorrow.) Can this be multi peer? So, for instance, 5 guys load this same web page and can chat with each other and see what everyone else has typed, not just a 2 person thing.

  3. What are the functions of the server besides handshake and downloading the source code? Is the rest done peer-to-peer? If so, then that would be ideal because that means that thousands can chat in realtime without loading down server resources. So, that's an interest of mine.