New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@warren-bank/browser-castv2-client

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warren-bank/browser-castv2-client

Browser build for 'node-castv2-client': A Chromecast client based on the new (CASTV2) protocol

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
0
Weekly downloads
 
Created
Source

browser-castv2-client

Browser build for node-castv2-client: A Chromecast client based on the new (CASTV2) protocol

Build
npm install

npm run build
CDN
  <script src="//cdn.jsdelivr.net/npm/@warren-bank/browser-castv2-client@1.0.0/dist/es2020/castv2-client.js"></script>
Usage
  1. start the TCP proxy server
    • command-line:
        chromecast_ip='192.168.0.100'
        chromecast_port='8009'
        proxy_port='3000'
      
        ws-tcp-proxy "${chromecast_ip}:${chromecast_port}" --port "$proxy_port"
      
    • is a required workaround for the limitation that client-side javascript cannot make TCP socket connections
      • allows the client-side javascript to connect by websocket
      • pipes data from the websocket to the TCP socket
      • pipes data from the TCP socket to the websocket
  2. run the client-side javascript library in a web browser

Keywords

FAQs

Package last updated on 09 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc