butterproject / butter-desktop

All the free parts of Popcorn Time
http://butterproject.org/
GNU Affero General Public License v3.0
4.29k stars 1.09k forks source link

streamers #497

Open vankasteelj opened 7 years ago

vankasteelj commented 7 years ago

what's the flow for streamers?

I propose:

wrap every streamer in streamers.js, async load butter-streamer:

butter-streamer-torrent:

butter-streamer-http:

butter-streamer-local (video files):

Each streamer creates its own localhost server to only serve a IP to streamers.js (allows for more dirty hack if needed, per type)

VitorVRS commented 7 years ago

It seems good :+1:

IMHO butter-streamer-* should notify streamer.js about stats, for a better decoupling. (I understand that stats are: ratios, progress, some other info). This leads to loading.js refactoring, i guess.

xaiki commented 7 years ago

looks good, some work is done here: https://github.com/butterstreamers/