torrent-storm
v0.2.2
Published
Torrent Streaming Server
Downloads
10
Readme
torrent-storm
Usage example:
let streamer = createStreamer('magnet:?xt=urn:btih:ef330b39f4801d25b4245212e75a38634bfc856e')
let videoStream = null
// This will start streaming at localhost:2700
streamer.then(stream => {
videoStream = stream
stream.on('info', function(data) {
console.debug(data)
})
stream.on('files', function(data) {
console.warn(data)
})
stream.on('stats', function(stats) {
console.info(stats)
})
}).catch(err => {
if (videoStream) videoStream.close()
console.error(err)
})
No support is provided, so don't count on regular updates.