js-labs / WalkieTalkie

Android WiFi Walkie Talkie (js-collider framework demo)
Other
137 stars 58 forks source link

scale of network #1

Open midzer opened 8 years ago

midzer commented 8 years ago

Interesting app :+1:

At which scale of network does the app work? Only on the same internal home wifi network e.g. 192.168.0.x with subnet 255.255.255.0?

Does the same channel ID enable communication between multiple devices?

js-labs commented 8 years ago

Hi! Thank you for comment!

App uses simple TCP/IP peer-to-peer connection, so actually it can work at any scale. The only question how each app can find each other. Currently it use Android NSD (the same as Bonjour by Apple), which in turn use MDNS (multicast DNS) protocol. MDNS usually works on a local network segment.

I have an idea to add a possibility to establish a connection by hands as well.

Does the same channel ID enable communication between multiple devices?

Yes, same channel supposed to work for multiple devices. Originally the idea was to have a possibility to create a multiple number of channels, but it was quite difficult, so currently it has only one channel.

locutis-of-borg-1999 commented 8 years ago

It might be possible to "pair", or link devices, using QR Codes, NFC, or bluetooth, even encrypting links. Actually, one could send an "invite" farther, perhaps, similar to "serverless" XMPP sessions.

js-labs commented 8 years ago

Hi, thank you for idea. QR codes, NFC or Bluetooth pairing probably will work, but they will work only on a very close distance. It is not so useful for such application. XMPP serverless messaging use the same discovery (zero-configuration networking)

locutis-of-borg-1999 commented 8 years ago

I'm talking about how each client "finds" one another. Do we really want to chat with totally random people? Some might, but that's not really useful.

In addition to, perhaps an intent, to invite via, QR codes, NFC or Bluetooth, there should be a way to share an invite over e'mail, SMS/text, XMPP, and otherwise.

js-labs commented 8 years ago

Well, if you take a real walkie talkie device, you choose a frequency/channel and share it with your friends, so you can talk to each other. No random people with this app, only people connected to the same WiFi network...