How Does WebRTC Work? Seriously, How?

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 65

  • @fundifferent1
    @fundifferent1 Місяць тому +5

    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.

  • @ShivamThakur-rt6js
    @ShivamThakur-rt6js Рік тому +10

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

  • @AidarNizamov
    @AidarNizamov 16 днів тому

    Video is very good, well explained!! simple and precisely. and now I can understand how the WebRTC works! thanks

  • @cafer12098
    @cafer12098 8 місяців тому

    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.

  • @ahmedsohail9855
    @ahmedsohail9855 2 роки тому +3

    It was good enough to clear concepts, much appreciated

  • @faez8220
    @faez8220 20 днів тому

    great video, thank you!

  • @abdulhaseeb7081
    @abdulhaseeb7081 Рік тому

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

  • @supmit2k8
    @supmit2k8 Рік тому +2

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

  • @alexcannizaro3333
    @alexcannizaro3333 11 місяців тому

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

  • @shivankchopra8552
    @shivankchopra8552 4 роки тому +12

    Thanks for the high level explanation, much appreciated :)

  • @nextleveltech267
    @nextleveltech267 9 місяців тому +1

    Nice explanation ❤️🙏

  • @iamthirdyt
    @iamthirdyt 3 роки тому +3

    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. :)

  • @areebrashid6467
    @areebrashid6467 Місяць тому

    Great video man.

  • @MihirNaidu-n5v
    @MihirNaidu-n5v 7 місяців тому

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

  • @danushadhaamarasekera7215
    @danushadhaamarasekera7215 3 місяці тому

    Thank you Bro god bless you

  • @tegasteve8195
    @tegasteve8195 Рік тому

    Thank you for the explanation

  • @preetamsingh147
    @preetamsingh147 3 роки тому +7

    This was really well explained. Thanks a lot!

  • @JeffreyLiu8
    @JeffreyLiu8 3 роки тому +7

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

    • @JeffreyLiu8
      @JeffreyLiu8 2 роки тому +1

      @@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?

  • @peberdah
    @peberdah 2 роки тому

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

  • @mehmetmetenak1471
    @mehmetmetenak1471 Рік тому

    clear and simple, thanks man

  • @larmaysee
    @larmaysee 2 роки тому +1

    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.

  • @danushadhaamarasekera7215
    @danushadhaamarasekera7215 8 місяців тому

    thank you brother

  • @atulparate
    @atulparate 3 роки тому

    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

  • @byte2biker
    @byte2biker 2 роки тому

    Thanks for the great explanation. 👏

  • @rohitsarma4226
    @rohitsarma4226 3 роки тому

    bro kudos keep up the work u explained like fab

  • @cyberverz
    @cyberverz 4 роки тому +3

    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 ?

    • @heyletscode
      @heyletscode  4 роки тому

      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

  • @arseniykucherenko4960
    @arseniykucherenko4960 3 роки тому

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

  • @yasirchoudhary824
    @yasirchoudhary824 2 роки тому

    Really good explanation

  • @rreaksmey1
    @rreaksmey1 3 роки тому

    Thanks for the explanation, really appreciated.

  • @zafariqbal92
    @zafariqbal92 2 роки тому

    Thank You

  • @david-tracy
    @david-tracy 2 роки тому

    Very good work

  • @tintrinh4729
    @tintrinh4729 2 роки тому

    Many Thanks, great explain

  • @nwcoder
    @nwcoder Рік тому

    Sir, please make webRtc video calling app in this topics using java language Android

  • @nanduchandran2805
    @nanduchandran2805 4 роки тому +1

    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?

  • @diegomountain7177
    @diegomountain7177 3 роки тому

    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?

  • @001Debjeet
    @001Debjeet 3 роки тому

    well explained

  • @crazysumavlogs3075
    @crazysumavlogs3075 3 роки тому

    Very clear explanation 👍

  • @limjohnny4156
    @limjohnny4156 3 роки тому

    Hi why does WebRtc activity not show up in Chrome's network activity tool?

  • @vasukannan.s7423
    @vasukannan.s7423 2 роки тому

    What is stun and turn servers.. Is signalling server and stun and turn server both are same?

    • @Laptevwalrus
      @Laptevwalrus 7 місяців тому

      The purpose of stun server is to get your IP/PORT. Signalling server just shares this information between peers

    • @ranuchakravarti3277
      @ranuchakravarti3277 6 місяців тому

      No they r different

  • @dev3269
    @dev3269 3 роки тому

    Thanks bro,

  • @rezahosseini-so7hk
    @rezahosseini-so7hk Рік тому

    so we cant make an app like walki talki with webRTC? i mean without need internet or being online?

    • @Laptevwalrus
      @Laptevwalrus 7 місяців тому

      WebRTC allows clients to communicate with each other without intermediate server, thus increasing internet speed/latency

  • @emanmukherjee9787
    @emanmukherjee9787 3 роки тому

    Y University is using webrtc in chrome to enable webcam and audio. Can they also seen the screen of my pc?

    • @Odsku
      @Odsku 3 роки тому

      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

  • @laxmanprasadmishra4563
    @laxmanprasadmishra4563 3 роки тому

    Sir how to get stun and tun servers

  • @onur7183
    @onur7183 4 роки тому +1

    if it fallbacks down to turn, than it aint no p2p anymore or am i wrong?

    • @gelotress479
      @gelotress479 4 роки тому

      Based on my initial readings, yes, that is correct. The communication is essentially done through a "proxy" so to speak.

    • @adamfranklin1114
      @adamfranklin1114 3 роки тому

      @@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

    • @fundifferent1
      @fundifferent1 Місяць тому

      @@adamfranklin1114 yes, because the data transfer is happening on the server (which you pay for) instead of peer to peer.

  • @taranjitsingh1689
    @taranjitsingh1689 3 роки тому

    Wow wow wow

  • @bonniewyrick7771
    @bonniewyrick7771 3 роки тому

    Why and how did someone put this one my phone without my knowledge

  • @muslim2k
    @muslim2k 3 роки тому

    sp the signaling server is just a mutual friend.

  • @Sal-bm4mw
    @Sal-bm4mw 4 роки тому

    Impressive, Good Job!

  • @Lucifer-mq2du
    @Lucifer-mq2du 4 роки тому +2

    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

  • @MorseRalap-r3f
    @MorseRalap-r3f 2 місяці тому

    Harris Daniel Moore Robert Brown Sandra

  • @nombrealetatorioyanonimo553
    @nombrealetatorioyanonimo553 2 роки тому +1

    ¿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...

  • @arafatbashir3708
    @arafatbashir3708 4 роки тому

    Can you create find my tutor application