Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-video-stream

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-video-stream

Use electron to capture video

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

electron-video-stream

Use electron to stream video to the Internet.

How it works

  • Use electron to capture the video stream
  • webRTC to create connection

Usage

Installation

npm install electron-video-stream -g to install the command

How to run

You need to define the peer ID from the command line so that the client knows who to call

$ electron-video-stream 'wcl-pi'

And then you can find the video at https://fraserxu.me/electron-video-stream?wcl-pi

Development

npm install to install all the dependencies

npm run build to build the code for client

npm run watch to auto build code

./cli.js wcl-pi to start electron from the command line

You may also need to run chmod +x cli.js to make it executable.

To publish

I use gh-pages to host static page.

git checkout gh-pages
git reset --hard origin/master
git add --all
git commit -m 'gh-pages update'
git push origin gh-pages

License

MIT

FAQs

Package last updated on 16 Sep 2015

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