I was brainstorming the webapp idea, something like Turntable.fm, but for LAN, so all computers on ONE network don't all download the song at the same time (killing the bandwidth), but rather the music around. The main functionality would be for a βmainβ PC (one with speakers) to play a local song or receive songs on a local network and then to play.
My question is, is there a way for the HTML5 page (hosted on the Internet) to use JS to discover LAN users and communicate with each other directly, without the need for any central server? Example for clarification:
Office LAN has 2 users, Bob and Bill Bob enters lanmusic.com Bill enters lanmusic.com Internet dies, LAN is fine. Bob can still detect via the page that local user Bill is on the page too Bill sends a song to Bob through the page directly Bob plays song with page javascript music player
So, the key points:
- Javascript / HTML5 only
- It is independent of the Internet, except for the initial loading of the web application.
- Can detect LAN users, make LAN connections
source share