SimpleWebRTC

Use Edge's ORTC API and the WebRTC APIs in Chrome and Firefox to make cross-browser conference calls.

To use this demo, you'll need the most recent version of the Edge browser, Chrome or Firefox , and a microphone attached to your Windows 10 device.

Warning - Your browser does not support the ORTC or WebRTC APIs. Please switch to a PC with a recent version of Windows 10 and try again.

Error - we can't find a microphone attached to your PC. Please switch to a PC with a microphone attached and try again.

How it works

Create a conference and share the link with people you would like to join, e.g. by sending them the link via chat or email. You can share the link with a small number of people, this is not limited to 1:1 calls.

Add your name and a snapshot to make it easy to recognize you.

Behind the scenes

This demo is based on a library called SimpleWebRTC. It hides the complexity of the WebRTC and ORTC APIs behind a nice Javascript API, allowing developers to concentrate on adding VoIP functionality as a feature in their application.

First, SimpleWebRTC requests access to your microphone by calling getUserMedia(), which returns a MediaStreamTrack object. Then, SimpleWebRTC joins a room on the server and establishes a Peer-to-Peer connection with other people at the same URL. In Chrome and Firefox, the WebRTC PeerConnection API is used. In Microsoft Edge, this API is shimmed using the lower-level ORTC APIs. All three browsers should be able to talk to each other this way.

The ORTC shim used is part of adapter.js.

The Insider Build of Microsoft Edge also allows interoperable video chats using SimpleWebRTC. Checkout the video page.

To find more about &yet and SimpleWebRTC, visit www.andyet.com and simplewebrtc.com.