GetUserMedia & ProcessingJS

How to use the new HTML5 getUserMedia API with ProcessingJS (works only with compatible browsers of course)
http://p5lyon.tumblr.com/ProcessingJSGetUserMedia

EDIT: i corrected my script since WebRTC getUserMedia API changed a few days ago https://bugs.webkit.org/show_bug.cgi?id=84850