chromecast-controller

0.3.1 • Public • Published

chromecast-controller

License npm Downloads Donate Donate

Easily cast to Chromecast and control playback

Usage Example

var chromecast = require('chromecast-controller');

var media = {
	contentId: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/big_buck_bunny_1080p.mp4',
	contentType: 'video/mp4',
	streamType: 'BUFFERED'
}

chromecast.cast(media, (err) =>
{
	if(err)
	{
		chromecast.close();
		return console.log(err.message);
	}

	console.log('Playing...');
}

Donation

If you like my work please support it by buying me a cup of coffee :-)

PayPal

/chromecast-controller/

    Package Sidebar

    Install

    npm i chromecast-controller

    Weekly Downloads

    9

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    8.97 kB

    Total Files

    4

    Last publish

    Collaborators

    • rafostar