peerjs-server
                                
                                
                                
                                    peerjs-server copied to clipboard
                            
                            
                            
                        AirDrop like peer discovery
Is there interest in peer discovery extensions?
Why:
- Currently peerjs-server leaves it to developers to find ways to exchange their IDs so they can connect. This is a perfectly valid design choice for ultimate flexibility.
 - It would be convenient for developers if there are canned peering mechanisms for some of the common use cases.
 - One such use case is proximity peering. It applies to a lot of real world apps, including peerjs's own theater cues example.
 
What:
- AirDrop like peering experience when peers are in close physical proximity.
 
How:
- Assuming peers are located physically in the same room, logged into the same WiFi/LAN and sharing the same Public IP address.
 - See sharedrop.io for a nice implementation. Its based on a peerjs fork. It relies on Firebase realtime databse, which I don't think is a necessary dependency with peerjs-server.
 - See Ambianic PnP for a peerjs-server fork with room management extension. Happy to contribute the code back to peerjs-server if there is interest.
 
Ivelin
I like the idea of rooms system. It should be pluggable into exists core.
The room API implementation has been finished and tested for several weeks. Please take a look if you have a chance and let me know if its of interest to merge into the original repo. Here is the forked repo: https://github.com/ambianic/ambianic-pnp
FWIW, I'd vote for better documentation (specifically for the available endpoints) and adding examples before this is introduced.