MediaStream Recording

This demo requires Firefox Nightly. It's based on PinZhang's MediaRecorder example.

How does it work? A MediaRecorder is created which takes a video stream from navigator.getUserMedia(). When a blob of recorded data becomes available (set to occur after two seconds) this is used to set the src of the video element, using window.URL.createObjectURL().

For more information see the MediaStream Recording API Editor's Draft.

View source on GitHub