Glossary

WebRTC

WebRTC is an open web standard for real-time communication that enables voice and video calls directly in the browser, with no extra software or plug-in.

What is WebRTC?

WebRTC stands for Web Real-Time Communication. It is a set of interfaces and protocols that lets browsers and apps exchange audio, video and any other data in real time. The programming interface is standardized by the W3C, while the underlying network protocols come from the IETF. All major browsers support WebRTC, so video calls on a website can work without installing anything.

How a WebRTC connection is set up

Before two devices can talk, they use an intermediary server (signaling) to exchange which formats they support and the network addresses where they can be reached. With the help of so-called STUN servers they discover their public address and then try to connect directly. If firewalls or router settings prevent that, a TURN server relays the data instead. For group calls, many services also use a central media server that forwards the streams to all participants.

Security and privacy

WebRTC always encrypts audio and video in transit: DTLS is mandatory for the key exchange and SRTP for the media streams. If a call runs through a central media server, however, that server may be able to process the data in decrypted form, depending on the implementation; true end-to-end encryption requires additional measures. In a direct connection, the participants also usually learn each other’s IP address. A website may only use your camera and microphone if you allow it in your browser.

The building blocks: STUN, TURN and ICE

Two devices behind routers do not know their public address at first. A STUN server tells them. If a direct connection still cannot be established, for example in strict company networks, a TURN server relays the encrypted data packets. The ICE procedure tries the possible routes one after another and picks the best. How devices find each other and exchange their connection details in the first place (signalling) is not defined by WebRTC – each application handles that itself.

At Friendstime

At Friendstime you start voice and video calls straight from a chat. On a computer, an up-to-date browser is all you need, no extra program is required, and calls also work between the browser and the Android app. You start group calls in the Android app from a group chat; anyone who is called in the browser can join. You can share your screen in video calls in a browser on a computer, and in the Android app in voice calls as well.

Frequently asked questions

Do I need to install anything for WebRTC?

No. WebRTC is already built into all major browsers. You only need to allow access to your camera and microphone when a site asks for it.

Does WebRTC reveal my IP address?

In a direct connection, the other person usually learns your IP address. If the connection is routed through a relay or media server, that server sees the address instead.

Which browsers support WebRTC?

All common current browsers support WebRTC, including Chrome, Firefox, Safari and Edge – on desktop as well as on smartphones.

Related terms

Related topics

Try Friendstime

Signing up takes a minute and is free.

All terms in the glossary →