Skip to content

nachtien/nodecast-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodecast-js (Popcorn Time fork)

Nodecast-js is a simple module for streaming media to Chromecast/UPnP/DLNA.

Usage

var Browser = require('nodecast-js');

var url = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/big_buck_bunny_1080p.mp4';
var timestamp = 60; // in seconds

var browser = new Browser();
browser.onDevice(function (device) {
    device.onError(function (err) {
        console.log(err);
    });

    device.play(url, timestamp);
});
browser.start();

browser.getList(); // list of currently discovered devices

browser.destroy(); // destroy your browser

About

Popcorn time nodecast-js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published