Get a web browser that supports the getUserMedia API

De $1

Version de 22:21, 23 Avr 2024

cette version.

Revenir à liste des archives.

Voir la version actuelle

Introduction

This API enables audio/video capture using a webcam or microphone. Only beta implementations exists in Opera and Chrome, unfortunately not in the stable versions commonly available.


Chrome Canary build

This browser has the most stable support for video capture. Works on Linux, Mac, Windows. Get it from :  http://www.chromium.org/getting-involved/dev-channel.

You also need to activate the support for media streaming : open chrome://flags in Chrome, look for MediaStream and activate it !

ActivateMediaStreamChrome.jpg

Opera version from labs

This one is not so easy to find ! Get a special snapshot of Opera that supports video capture here : http://snapshot.opera.com/labs/camera/

There is nothing to activate. Video capture works well, but in the multi-pariticipant Paint program we developped we managed to crash this builds several time when we tried to transfert the video snapshots over WebSockets. However, you may try it anyway.

Test if your browser supports video capture

Try this small piece of code: http://jsbin.com/ipeyal/5/edit

You should get that :

Snap2.jpg