Skip To Main Content

JavaScript: WebRTC in Opera Mobile 12

Posted by Rick Waldron

Feb 28 2012

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.

Comments

We moved off of Disqus for data privacy and consent concerns, and are currently searching for a new commenting tool.

Contact Us

We'd love to hear from you. Get in touch!