1.0.0 • Published 4 years ago

chromecast-sender v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

Chromecast 2.0 Sender App

Build and start app

In root folder install all necessary dependencies:

  • Install dependencies:
npm install
  • Build the sender application (build is not necessary to serve app):
npm run build
  • Serve app via webpack server:
npm run start

:warning: Important :warning:

  1. Sender app is working in Chrome browser only.
  2. Make sure that receiver and sender are using the same environments - custom namespace for sender and receiver should match each other. In case you have Uncaught (in promise) invalid_parameter error it is likely that namespaces don't match.

Configure app

For devs:

  • You can add to config file local.js in order to keep your credentials
module.exports = {
  username: 'yourUsername',
  password: 'yourPassword',
  deviceId: 'yourDeviceId',
  appId: 'yourAppId',
};

Step 1:

  • Select environmet and region (region related to your IP address)
  • Click get startup button

Step 2:

  • Provide your username and password
  • Click sign in button

Extra Step 2 (Marco Polo):

  • Provide your device id registered on Application Control Centre (Marco Polo)

Step 3:

  • Select or type your appId
  • Click set up button

Step 4:

  • Select country and type parential pin (optional)
  • Click get rail

Step 5:

  • Select an asset and connect to device by clicking the Chromecast icon
  • Click initSession button then click send message
  • Click initPlayback button then click send message

Video should be loaded on receiver app.