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.
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.
@@jnnk-hb thanks for the info, I am willing to share the IP, and I don't mind bandwidth, I probably can just start with 3 people meeting, any docs on how to get it done?
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 ?
yes the offer and answer must be exchanged. If you dont want to send a stream for a peer then dont add any stream for that peer If you do not provide STUN & TURN url then the ICECandidates will not be generated which is required for the p2p connection
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
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.
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?
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. :)
Chrome allows screen sharing so basically yes but im pretty sure u have to give consent for screensharing and it should show a popup that u are sharing ur screen as long as your screensharing
@@gelotress479 so the p2p video chat is free of processing costs (besides the singling) but the non p2p (fall backed) is more cost intensive in cloud Is this right? Hmm
hey i need youe help...i am 12 years old and I have made a game and it took me 8 months...now i dont have international credit card to buy developer account..so please upload my game in play store.. please
¿Qué es? Una basura más de tecnología que no necesitas y que encima filtra tu IP real incluso con algunos VPN... Así que lo más sensato es quitar esa basura de tu navegador o usar un navegador sin esa basura, el hecho es simple... Encima te lo venden como que es libre, me importa un huevo si es código libre si me espía, quien quiere ser libre de ser espiado soy yo aunque eso sea muy complicado tirando a imposible para el usuario medio; pero al menos podemos ponérselo un poco más difícil...
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.
😅😅
Bro that was the simplest yet clearest explanation. Great work. Thanks a lot
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.
Video is very good, well explained!! simple and precisely. and now I can understand how the WebRTC works! thanks
WOW! best explanation, I tried many videos, chatgpt, bard, none helped, watching your 6 mins video was worth it, thank you so much
It was good enough to clear concepts, much appreciated
can we have multiple clients? like people watching a person streaming like twitch?
@@jnnk-hb thanks for the info, I am willing to share the IP, and I don't mind bandwidth, I probably can just start with 3 people meeting, any docs on how to get it done?
Thanks for the high level explanation, much appreciated :)
great video, thank you!
This was really well explained. Thanks a lot!
Nice explanation ❤️🙏
Great video man.
best explo!! gr8 job from one mihir to another !!!💗
Wow! Very simple and great explanation. Thanks for your contribution pal!!.
clear and simple, thanks man
Very nice introductory video, perfectly explains the basic concepts of webrtc. Thank you for that.
Thank you for the explanation
Thanks clear, considering a simple chat app, why not append lines to a server file and share it.
Thank you Bro god bless you
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 ?
yes the offer and answer must be exchanged. If you dont want to send a stream for a peer then dont add any stream for that peer
If you do not provide STUN & TURN url then the ICECandidates will not be generated which is required for the p2p connection
To build hight performed Zoom like app with multiple participants in the video call still require SFU servers and proper STUN/TURN infrastructure.
Thanks for the great explanation. 👏
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
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.
bro kudos keep up the work u explained like fab
Thanks for the explanation, really appreciated.
thank you brother
Sir, please make webRtc video calling app in this topics using java language Android
Many Thanks, great explain
Really good explanation
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?
Hi why does WebRtc activity not show up in Chrome's network activity tool?
What is stun and turn servers.. Is signalling server and stun and turn server both are same?
The purpose of stun server is to get your IP/PORT. Signalling server just shares this information between peers
No they r different
Very good work
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. :)
so we cant make an app like walki talki with webRTC? i mean without need internet or being online?
WebRTC allows clients to communicate with each other without intermediate server, thus increasing internet speed/latency
The explanation seems to indicate that the ICE Candidates are sent separate to the Offer. Is that the case or are they sent WITH the original Offer?
Thank You
Very clear explanation 👍
well explained
Y University is using webrtc in chrome to enable webcam and audio. Can they also seen the screen of my pc?
Chrome allows screen sharing so basically yes but im pretty sure u have to give consent for screensharing and it should show a popup that u are sharing ur screen as long as your screensharing
if it fallbacks down to turn, than it aint no p2p anymore or am i wrong?
Based on my initial readings, yes, that is correct. The communication is essentially done through a "proxy" so to speak.
@@gelotress479 so the p2p video chat is free of processing costs (besides the singling) but the non p2p (fall backed) is more cost intensive in cloud
Is this right? Hmm
@@adamfranklin1114 yes, because the data transfer is happening on the server (which you pay for) instead of peer to peer.
Thanks bro,
Sir how to get stun and tun servers
Why and how did someone put this one my phone without my knowledge
sp the signaling server is just a mutual friend.
hey i need youe help...i am 12 years old and I have made a game and it took me 8 months...now i dont have international credit card to buy developer account..so please upload my game in play store.. please
Impressive, Good Job!
¿Qué es? Una basura más de tecnología que no necesitas y que encima filtra tu IP real incluso con algunos VPN... Así que lo más sensato es quitar esa basura de tu navegador o usar un navegador sin esa basura, el hecho es simple... Encima te lo venden como que es libre, me importa un huevo si es código libre si me espía, quien quiere ser libre de ser espiado soy yo aunque eso sea muy complicado tirando a imposible para el usuario medio; pero al menos podemos ponérselo un poco más difícil...
Wow wow wow
Harris Daniel Moore Robert Brown Sandra
Can you create find my tutor application