JavaScript: WebRTC in Opera Mobile 12

Yesterday, Opera announced and released the latest version of its mobile browser, Opera Mobile 12. Today, while running the browser against the Ringmark suite, I noticed that it was now passing the WebRTC detection tests. Very exciting, indeed!

To test drive the first ever mobile browser implementation of WebRTC, I decided to use dmv — my super simple Node.js served, socket.io enabled, navigator.getUserMedia normalized, video-frame-to-canvas capturing program, which was developed using an Opera Labs build and Google Chrome Canary for desktop.

The following video demonstrates Opera Mobile 12 using the Nexus One’s built in camera, piping a url object to a HTML5 video element node, while the frames are read and drawn to a canvas element at ~30fps:

If your browser is from 1977 and the above video doesn’t work, try watching it on Youtube.

This entry was posted by Rick Waldron (@rwaldron) on February 28, 2012 in JavaScript, Opera, WebRTC, Video, Media and Feature.

Comments