Media Stream and Peer Connection FlagsYou can enable WebRTC by enabling the MediaStream and PeerConnection experiments on both Chrome Canary and Dev Channel. Please remember that enabling the flags will keep the feature on until you disable it. WebRTC features may change, break, or disappear at any time. We make absolutely no guarantees about what may happen if you turn on this experiment, and your browser may even spontaneously combust. Jokes aside, your browser may delete all your data, or your security and privacy could be compromised in unexpected ways. Enabling WebRTC will enable it for all users of this browser. Please proceed with caution. Installing a WebRTC enabled Chrome for Mac / Windows / LinuxMacDownload a canary build from: http://tools.google.com/dlpage/chromesxs --or-- Download the Chrome Dev Channel build for Mac OS X. Install it into Applications as suggested when mounting the .dmg To enable WebRTC once, from the command line, you will need to run Chrome from terminal. open -a "/Applications/Google Chrome Canary.app" --args --enable-media-stream --enable-peer-connection To keep it WebRTC enabled, you will need to go this address: chrome://flags , Enable the MediaStream and PeerConnection experiments and relaunch as pictured above. WindowsDownload and install canary build from: http://tools.google.com/dlpage/chromesxs -- or -- Download the Chrome Dev Channel build for Windows. Installer will create a shortcut on your Desktop to the canary build, create another shortcut to that shortcut. Right-click on the new shortcut, select properties. In Target: add --enable-media-stream and --enable-peer-connection at the end (after the quotes). Click OK and double-click the shortcut to launch Chrome Canary with WebRTC enabled. To keep it WebRTC enabled, you will need to go this address: chrome://flags , Enable the MediaStream and PeerConnection experiment and relaunch as pictured above. LinuxThere isn't a published canary build for Chrome. You can compile Chromium yourself. Alternatively, you can install the dev channel from https://sites.google.com/a/chromium.org/dev/getting-involved/dev-channel; this requires you to install the dev channel version in place of your current Chrome installation. To build your own Chromium browser: Follow the instructions from http://www.chromium.org/developers/how-tos/get-the-code Run from a terminal in your source directory: src/out/Debug/chrome --enable-media-stream --enable-peer-connection --user-data-dir=<some test directory> If you don't feel like building Chrome, the Dev Channel instructions are here. To keep it WebRTC enabled, you will need to go this address: chrome://flags , Enable the MediaStream and PeerConnection experiments and relaunch as pictured above. DemosHere are a couple of demo sites. Most of them were sent to us via the discuss-webrtc list. Please remember that the same disclaimer as above applies:
If you find another demo app, please send it to sergel@webrtc.org / the discuss list or our Google+ Page. We will try to put it up! |
