-
Notifications
You must be signed in to change notification settings - Fork 22.5k
/
index.md
24 lines (18 loc) · 886 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: WebRTC
slug: Glossary/WebRTC
page-type: glossary-definition
---
{{GlossarySidebar}}
**WebRTC** (_Web Real-Time Communication_) is an {{Glossary("API")}} that can be used by video-chat, voice-calling, and P2P-file-sharing Web apps.
WebRTC consists mainly of these parts:
- {{domxref("MediaDevices.getUserMedia", "getUserMedia()")}}
- : Grants access to a device's camera and/or microphone, and can plug in their signals to a RTC connection.
- {{domxref("RTCPeerConnection")}}
- : An interface to configure video chat or voice calls.
- {{domxref("RTCDataChannel")}}
- : Provides a method to set up a {{Glossary("P2P", "peer-to-peer")}} data pathway between browsers.
## See also
- [WebRTC](https://en.wikipedia.org/wiki/WebRTC) on Wikipedia
- [WebRTC API on MDN](/en-US/docs/Web/API/WebRTC_API)
- [Browser support for WebRTC](https://caniuse.com/rtcpeerconnection)