mediastream
v0.0.5
Published
Downloads
41
Readme
domnode-usermedia
use HTML5 WebRTC the node way -- with streams
var media = new 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)
MIT LICENSE