Socket
Socket
Sign inDemoInstall

castv2-player

Package Overview
Dependencies
89
Maintainers
21
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    castv2-player

A Chromecast client based on the new (CASTV2) protocol


Version published
Weekly downloads
115
decreased by-40.72%
Maintainers
21
Install size
11.4 MB
Created
Weekly downloads
 

Readme

Source

cast2-player

NPM version Downloads

NPM

A Node.js Chromecast player library

A player based on the new (CASTV2) protocol used by Chromecast

Built as wrapper of the node-castv2-client library.

Sponsors

If you like my work, please feel free to provide a personal donation
(this is an personal Donate link for Jey Cee, no relation to the ioBroker Project !)
Donate

##Features

  • Scanner
    • for each device: name, IP, port, type (audio, video, audio group)
    • periodically scans for new devices
    • report updates in device such as new IP or port
  • Media Player
    • Automatically (re-) connects to device
    • Return live and cached status
    • Can start playing with an URL -> all required info is derived from it
      • detect media type
      • detect playlists (m3u, pls, etc)
    • Can play announcements
      • announcements are inserted in currently playing playlist
      • announcements can be played with a different volume (check the announcement example)
      • currently playing track is resumed at the same location it was before
    • Can jump between the playlist
    • Can update the playlist

##Examples Check the examples folder. The helloWorld.js should work out of the box. For the remaining testcases you will need to adjust the defines.js to point to your setup.

You can run all examples as testcases with npm test

Intefaces

Check the main class.

Keywords

FAQs

Last updated on 16 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc