Live data from Hacker News

Snapdrop – AirDrop equivalent through a web browser using WebRTC

snapdrop.net

111–120 of 155 posts

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#112
post #55

It's not really an AirDrop equivalent if it requires you to be on the same network. AirDrop is really useful when you're out and about somewhere and you want to send someone a file. In those cases there's possibly not a WiFi available or in the case of visitors to your home; only you are on the network, not your friend. So I would not see the point of using this instead of AirDrop unless you have to send a file to so…

Alas, this is a general issue with WebRTC: Most people are behind NATs[1], and not even STUN[2] can save them. In order for this to support internetwork (heh) transport, you'd need a TURN[3] server that could relay the traffic between the participants. Of course, at that point you're not really Peer2Peer anymore: You have a server between you and that server is going to cost actual money to run.

[1] https://en.wikipedia.org/wiki/Network_address_translation [2] https://en.wikipedia.org/wiki/STUN [3] https://en.wikipedia.org/wiki/Traversal_Using_Relays_around_...

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#113
post #99
post #96

Earlier quoted context omitted.

I have the reverse problem (win10 devices/iphone) and it has become enough of an issue to convince me to switch to android. Its ridiculous how Apple treats non apple devices as third-class citizens.

How would you send a file using Android (without access to an already existing network)? I asked someone with an Android phone the other day and apparently it's not practical.

WiFi direct - so long as the connecting devices support it and there's no requirement to be connected to the same WiFi network. Works a treat transferring from Android to Android or Windows 10 and it isn't proprietary.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#114
post #76

It is a shame AirDrop is not an standard across all devices. It's almost 2021 and we don't have a universal way to share files in original format. Most ways to transfer between android/iphone/mac/pc are over the internet and compressed. I guess the industry is not interested in collaboration.

There is WiFi Direct, a standard which is supported by both Android (since Android 4.0) and Windows 10 (dependent on the WiFi card). It's more of a case for Apple to support it on their devices.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#115
post #8

how was device discovery implemented?

this is 100% the thing apple does that google absolutely refuses to de-intermediate themselves out of. apple allows direct bluetooth discovery, google 100% insists on closed proprietary "android nearby" systems to find local devices. neither release protocols or standards to interoperate on.

Android phones and the majority of Windows 10 devices support WiFi Direct which allows direct discovery of another device without phoning home.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#116
post #11
post #3

> You are known as Azure Bug Ok, that’s cute. I would perhaps delay showing the funny name until at least one other machine is detected, it makes it feel like my name is being broadcast over the public Internet for anyone to connect to, and not just a LAN connection, the way it is. But worked perfectly for me to send a few photos back and forth. LAN connections seem like the perfect application for WebRTC not having…

It looks like the server could easily be expanded to allow you to enter the other person's ID and send to them over WAN

The code is so simple mostly because it doesn’t need to deal with NAT hole-punching.

It would have been beautiful if the discovery could have been purely client-side though.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#117
post #55

It's not really an AirDrop equivalent if it requires you to be on the same network. AirDrop is really useful when you're out and about somewhere and you want to send someone a file. In those cases there's possibly not a WiFi available or in the case of visitors to your home; only you are on the network, not your friend. So I would not see the point of using this instead of AirDrop unless you have to send a file to so…

İ have an Android and a MBP. The number of times where İ think, "why is this so hard to get this file to that computer" is more than I'd like to admit. Cloud drives (iCloud, OneDrive, GDrive) are all too slow on bad WiFi. This should help me.

Yes Android -> MBP has been a consistent pain for me. I just tried this out and it worked perfectly, I think this is great.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#118
post #99

Earlier quoted context omitted.

How would you send a file using Android (without access to an already existing network)? I asked someone with an Android phone the other day and apparently it's not practical.

WiFi direct - so long as the connecting devices support it and there's no requirement to be connected to the same WiFi network. Works a treat transferring from Android to Android or Windows 10 and it isn't proprietary.

The fact that someone would have to Google how to do this is what Windows is lacking. I built a hackintosh and bought an iPhone after I got tired of those disparities and disconnections. Why can’t Windows just work with Android already?

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#119
post #55

It's not really an AirDrop equivalent if it requires you to be on the same network. AirDrop is really useful when you're out and about somewhere and you want to send someone a file. In those cases there's possibly not a WiFi available or in the case of visitors to your home; only you are on the network, not your friend. So I would not see the point of using this instead of AirDrop unless you have to send a file to so…

İ have an Android and a MBP. The number of times where İ think, "why is this so hard to get this file to that computer" is more than I'd like to admit. Cloud drives (iCloud, OneDrive, GDrive) are all too slow on bad WiFi. This should help me.

If you want a bit more features than just file sharing (like clipboard sync or music control), I highly recommend KDE connect.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#120
post #99

Earlier quoted context omitted.

How would you send a file using Android (without access to an already existing network)? I asked someone with an Android phone the other day and apparently it's not practical.

WiFi direct - so long as the connecting devices support it and there's no requirement to be connected to the same WiFi network. Works a treat transferring from Android to Android or Windows 10 and it isn't proprietary.

I have a Lenovo Android device here for testing purposes, fairly new (runs Android 9). Could not find anything like that in the UI.
Post reply on HN