News for hackers. Stuff that matters.
Re:WebTorrent – BitTorrent over WebRTC by feross on Monday January 18, 2016 @02:55AM (#10923152)
Author of WebTorrent here. Sorry for surprising you with a large download. To be fair, YouTube autoplays videos too, and the video size is comparable.

Good news, though! Looks like we can use detect users on a metered connection with `navigator.connection`, or worst case look for a mobile user agent. Thanks for the feedback!

Re:WebTorrent – BitTorrent over WebRTC by notalaser on Monday January 18, 2016 @03:15AM (#10923212)
Or, you know, you could ask users if they want to download it :-).

It seems to be done as a demo right now. Why not just add a big red "click here for a demo" thing?

There are very few things that you can reliably find out over the web. Whether or not a connection is metered isn't one of them.

Re:WebTorrent – BitTorrent over WebRTC by rmc on Monday January 18, 2016 @05:01AM (#10923532)
Or a "The download will begin in 10 seconds. Press the pause button to stop it"
Re:WebTorrent – BitTorrent over WebRTC by Sephr on Monday January 18, 2016 @03:31AM (#10923260)
> or worst case look for a mobile user agent

Please don't. There's nothing special about mobile devices that inherently makes them metered, so please do not assume this.

Re:WebTorrent – BitTorrent over WebRTC by h43k3r on Monday January 18, 2016 @03:26AM (#10923247)
Even in big cities in India people only have 1 or 2 GB per monthly limit on their broadband connection for their PCs.

It would be better to use a manual approval rather than a automated detection.

When I visit youtube, I know that the video is going to start immediately but that wasn't the case with this.

Re:WebTorrent – BitTorrent over WebRTC by CyberDildonics on Monday January 18, 2016 @10:14AM (#10924808)
I don't go to youtube to read. You've got something genuinely extremely useful, but at the moment you are poisoning the well.
Re:WebTorrent – BitTorrent over WebRTC by ComodoHacker on Monday January 18, 2016 @03:54AM (#10923333)
Could you explain please, how can it work in Firefox with media.peerconnection.enabled=false? What exact features of WebRTC are you using?