OpenWebRTC can be used to add support for WebRTC in Safari on OS X. This is what you need:

  1. Download our Safari extension available here. Simply double-click the downloaded file to install in Safari.
  2. Start the OpenWebRTC daemon.

The Safari extension communicates with the daemon via its local web server. Before every page load, the extension fetches JavaScript from the daemon containing WebRTC functionality and injects it in to the current context. The daemon runs in a separate process in the background.

Start the daemon by running the following command from the root directory of your openwebrtc clone:

./out/x86_64-apple-darwin/bin/openwebrtc-daemon

The video rendering performance will be suboptimal with this setup, but it is very useful for testing purposes to be able to use entirely standard web browsers.

Note that you need to build OpenWebRTC first. In this example we run it on OS X, but the daemon is also available on Linux.

Posted
AuthorStefan Ålund