Need help with peercast?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mafintosh
476 Stars 34 Forks MIT License 14 Commits 9 Opened issues

Description

torrent-stream + chromecast

Services available

!
?

Need anything else?

Contributors list

# 5,129
Electro...
bittorr...
webfram...
libsodi...
10 commits
# 53,405
JavaScr...
CSS
Shell
1 commit
# 8,029
Applica...
cheat
Electro...
Flask
1 commit

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.