What is this?
A tiny browser module for attaching a media stream to a video (or audio) element with some options. It handles the differences between browsers via adapter.js.
Suitable for use with browserify/CommonJS on the client.
If you're not using browserify or you want AMD support use
npm install attachmediastream
How to use it
Makes it easy to attach video streams to video tags.
var getUserMedia = ;var attachMediaStream = ;// get user media;
Browsers used to to this very differently. This is now less true than it used to be.
It's still handy to be able to control mirroring, muting, autoplay in one shot with sane defaults.
If you like this, follow @HenrikJoreteg on twitter.