peercast

by mafintosh

mafintosh /peercast

torrent-stream + chromecast

458 Stars 31 Forks Last release: Not found MIT License 14 Commits 4 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

peercast

torrent-stream + chromecast

npm install -g peercast

Usage

Be on the same wifi as your chromecast and do

peercast magnet:?xt=urn:btih:99feae0a05c6a5dd9af939ffce5ca9b0d16f31b0

Currently this does not do any transcoding so the torrent should be mp4 (or whatever chromecast supports)

Programmatic usage

var peercast = require('peercast')

var engine = peercast(torrentOrMagnetLink)

engine.on('chromecast-status', function(status) { console.log('chromecast status: %s', status.playerState) })

engine.on('chromecast-playing', function(file) { console.log('chromcast is playing %s', file.name) })

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.