Re:Realtime streaming from torrents in the browser
by shmerl on Sunday September 07, 2014 @05:25AM
(#8280652)
BitTorrent doesn't order file fragments by design. So how can you stream it without downloading the whole thing first (to the server at least)? Which defeats the purpose of streaming really.
[ Parent
| on HN ]
Re:Realtime streaming from torrents in the browser
by Macuyiko on Sunday September 07, 2014 @05:36AM
(#8280667)
You can. BitTorrent doesn't order file fragments by design, but clients can choose to ignore this and request pieces in order. See Popcorn time and many other implementations out there.
Re:Realtime streaming from torrents in the browser
by cbhl on Sunday September 07, 2014 @07:11AM
(#8280785)
Why don't the other clients in the swarm penalize the client for this behaviour? Downloading all the fragments in order means that if the initial uploader drops off, everyone is stuck.
Re:Realtime streaming from torrents in the browser
by rakoo on Sunday September 07, 2014 @08:22AM
(#8280926)
It kinda works here because the shared files are already very popular, and there's a lot of seeders (ie peers who have 100% of the file and can share any part).
It wouldn't work for unpopular files.
Re:Realtime streaming from torrents in the browser
by shmerl on Sunday September 07, 2014 @03:40PM
(#8282149)
Yes, it goes against the distributed nature of the protocol so I think other clients should penalize such behavior in theory.
Re:Realtime streaming from torrents in the browser
by hayksaakian on Sunday September 07, 2014 @05:33AM
(#8280663)
You use a client which request fragments in a specific order.
This is not something new.