Sioro-Neoku / go-peerflix

Go Peerflix
MIT License
470 stars 119 forks source link

Enable playing in vlc on other operating systems #10

Closed Sioro-Neoku closed 8 years ago

Sioro-Neoku commented 8 years ago

This should do it.

@CrazyLemon ?

CrazyLemon commented 8 years ago

Works for me (Ubuntu 14.04) :+1:

P.s. Are you planning on any peer settings (limit # of peers) ? Or should i open another issue and ask the question there.

Sioro-Neoku commented 8 years ago

I was not planning on limiting the number of connections, but if you open an issue, we can talk about it.

After a quick look, we'd have to change the torrent library as the limiting property is private: https://github.com/anacrolix/torrent/blob/master/client.go#L448 The default is 80, which is a very sane, conservative value that should work everywhere.