This repository hosts forks of the different samples provided by Google with the few changes needed so they would work on IE and Safari with the plugin provided by Temasys
All of the samples use adapter.js, a shim to insulate apps from spec changes and prefix differences. In fact, the standards and protocols used for WebRTC implementations are highly stable, and there are only a few prefixed names.
NB for chrome: all samples that use getUserMedia()
must be run from a server. Calling getUserMedia()
from a file:// URL will result in a PERMISSION_DENIED NavigatorUserMediaError. See What are some chromium command-line flags relevant to WebRTC development/testing? for relevant flags.
Patches and issues welcome!
getUserMedia with camera/mic selection
Data channels with arraybuffers
getUserMedia + canvas + CSS Filters
getUserMedia with resolution constraints
Audio-only getUserMedia output to local audio element
Audio-only getUserMedia displaying volume
Accept incoming peer connection
Use pranswer when setting up a peer connection