What is WebRTC? WebRTC stands for Web Real Time Communication. From webrtc.org: "With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice and video communication solutions"
What is WebRTC?
WebRTC stands for Web Real Time Communication. From webrtc.org:
"With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice and video communication solutions"
The API is actually not so big and complicated as it sounds. The MDN website is, as always, very complete https://developer.mozilla.org/en-US/docs/Glossary/WebRTC.
We have 3 main parts:
In webrtc.org we can find many useful samples https://webrtc.github.io/samples/
Let's dissect a basic peer-to-peer connection.
First, we will need two video elements, one to see the other person and another one to see ourselves:
<video id="localVideo" playsinline autoplay muted></video> <video id="remoteVideo" playsinline autoplay></video>
Learn what are the most important API security threats engineering leaders should be aware of and steps you can take to prevent them
I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.
The method used for this initial research was to obtain a list of the ASX100 (as of 18 September 2020). Then work through each company looking at the following