How Does WebRTC Work? Seriously, How?

preview_player
Показать описание
In this video, you will learn how WebRTC works under the hood. You will get to know about WebRTC terms like SDP, ICE Candidate, STUN and TURN, etc.

Video Call App with WebRTC, JavaScript Course:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

Mostly great video, but if I understand correctly (I'm still learning), your final conclusion at 5:55 is not 100% accurate. That's because this video combines STUN & TURN server as if they are the same, when they aren't. The peer to peer connection you describe at 5:55 is the result of the STUN server. However, if you use a TURN server, the TURN server now acts as a middle man between the peers, so it's not a true peer to peer. And for those still learning, a STUN server is for when finding the network information of the peers is easy. However, if peers have firewalls and complicated NAT restrictions, the STUN server will not be able to get through it and thus you need a TURN server, which handles the connection as a middle man and also costs more because now data transfer is being handled via the TURN server and not truly peer to peer.

fundifferent
Автор

Bro that was the simplest yet clearest explanation. Great work. Thanks a lot

ShivamThakur-rtjs
Автор

Thanks for the high level explanation, much appreciated :)

shivankchopra
Автор

Very nice introductory video, perfectly explains the basic concepts of webrtc. Thank you for that.

supmitk
Автор

the "peer to peer connection without servers" line has been such a massive headache with almost every tutorial or article I started. Thanks for defining what that means at the start.

cafer
Автор

It was good enough to clear concepts, much appreciated

ahmedsohail
Автор

WOW! best explanation, I tried many videos, chatgpt, bard, none helped, watching your 6 mins video was worth it, thank you so much

abdulhaseeb
Автор

This was really well explained. Thanks a lot!

preetamsingh
Автор

Wow! Very simple and great explanation. Thanks for your contribution pal!!.

alexcannizaro
Автор

best explo!! gr8 job from one mihir to another !!!💗

MihirNaidu-nv
Автор

can we have multiple clients? like people watching a person streaming like twitch?

JeffreyLiu
Автор

Great video. A suggestion for future videos, instead of saying “this client” or “the other client”, say “client 1” and “client 2” instead, or even better use the classic Alice and Bob. :)

iamthirdyt
Автор

Thanks clear, considering a simple chat app, why not append lines to a server file and share it.

peberdah
Автор

Thank You Very Much For your explanation. But I have some quest about stun and turn server.
How do create stun and turn server. I mean do we need to create our own stun/turn server?
What about if we dev for production can we use public stun/turn server?

Again, Thank you for your video, which is very helpful.

larmaysee
Автор

Need suggestion on how to stream video file or live camera feed -
1) WebRTC app is already created and i have sender and receiver ends,
2) From sender's end we can stream the live feed
However i want to feed it from the code by using any existing video or want to stream it from Camera. [ Reason - I want to do load testing using code]

Please suggest on this

atulparate
Автор

1. what if peer1 wants to receive remote peer2 stream only, do both need to send create offer n answer or only one who wants to share media stream ?
2. what if we don't provide stun turn urls to rtcpeerconnection object ?

cyberverz
Автор

To build hight performed Zoom like app with multiple participants in the video call still require SFU servers and proper STUN/TURN infrastructure.

arseniykucherenko
Автор

Thanks for the explanation, really appreciated.

rreaksmey
Автор

bro kudos keep up the work u explained like fab

rohitsarma
Автор

Hii... Thank you for this video ....i have a doubt . When i enable hardware acceleration on chrome, my h264 lossless encoded video won't play in chrome but if i turn off hardware acceleration in chrome it is playing....iam using webrtc for data streaming from server directly to chrome Do u have any idea about this?

nanduchandran