mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 226 forks source link

Raspberry Pi performance #90

Open nickdima opened 9 years ago

nickdima commented 9 years ago

Anyone has any tips on improving performance on Raspberry Pi? Buffering a part of the file before starting streaming should be enough to have it play smoothly?

mafintosh commented 9 years ago

Try reducing the amount of connections using the size option.

var engine = torrentStream(link, {size:15}) // only use 15 connections

This has worked for me before in reducing the CPU load.

nickdima commented 9 years ago

OK, i'll give it a try, thanks!