mediastream

0.0.5 • Public • Published

domnode-usermedia

npm install mediastream

use HTML5 WebRTC the node way -- with streams

var media = mediastream({video: true})

media is a readable stream and speaks stream events: data, error and end. that means you can pipe media output to anything that accepts streams, such as an XHR. in this case the data events will be DataURI representations of the user's webcam frame captures

limitations

browsers only let you get webcam video right now (even though you can include audio: true in the options there is no way to capture the audio)

to generate demo-bundle.js using browserify:

npm install browserify -g
browserify demo.js -o demo-bundle.js

MIT LICENSE

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    13
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    13
  • 0.0.4
    1
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i mediastream

Weekly Downloads

12

Version

0.0.5

License

none

Last publish

Collaborators

  • maxogden