How Does WebRTC Work? Seriously, How?

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 65

  • @fundifferent1
    @fundifferent1 2 หลายเดือนก่อน +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.

    • @mryujiroh
      @mryujiroh 2 หลายเดือนก่อน

      😅😅

  • @ShivamThakur-rt6js
    @ShivamThakur-rt6js ปีที่แล้ว +10

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

  • @cafer12098
    @cafer12098 9 หลายเดือนก่อน

    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

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

  • @AidarNizamov
    @AidarNizamov หลายเดือนก่อน

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

  • @shivankchopra8552
    @shivankchopra8552 4 ปีที่แล้ว +12

    Thanks for the high level explanation, much appreciated :)

  • @supmit2k8
    @supmit2k8 ปีที่แล้ว +2

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

  • @preetamsingh147
    @preetamsingh147 3 ปีที่แล้ว +7

    This was really well explained. Thanks a lot!

  • @MihirNaidu-n5v
    @MihirNaidu-n5v 7 หลายเดือนก่อน

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

  • @alexcannizaro3333
    @alexcannizaro3333 ปีที่แล้ว

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

  • @areebrashid6467
    @areebrashid6467 2 หลายเดือนก่อน

    Great video man.

  • @nextleveltech267
    @nextleveltech267 9 หลายเดือนก่อน +1

    Nice explanation ❤️🙏

  • @faez8220
    @faez8220 หลายเดือนก่อน

    great video, thank you!

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

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

  • @mehmetmetenak1471
    @mehmetmetenak1471 ปีที่แล้ว

    clear and simple, thanks man

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

  • @byte2biker
    @byte2biker 2 ปีที่แล้ว

    Thanks for the great explanation. 👏

  • @rohitsarma4226
    @rohitsarma4226 3 ปีที่แล้ว

    bro kudos keep up the work u explained like fab

  • @tegasteve8195
    @tegasteve8195 ปีที่แล้ว

    Thank you for the explanation

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

  • @danushadhaamarasekera7215
    @danushadhaamarasekera7215 4 หลายเดือนก่อน

    Thank you Bro god bless you

  • @yasirchoudhary824
    @yasirchoudhary824 2 ปีที่แล้ว

    Really good explanation

  • @peberdah
    @peberdah 2 ปีที่แล้ว

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

  • @david-tracy
    @david-tracy 2 ปีที่แล้ว

    Very good work

  • @rreaksmey1
    @rreaksmey1 3 ปีที่แล้ว

    Thanks for the explanation, really appreciated.

  • @tintrinh4729
    @tintrinh4729 3 ปีที่แล้ว

    Many Thanks, great explain

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

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

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

  • @danushadhaamarasekera7215
    @danushadhaamarasekera7215 8 หลายเดือนก่อน

    thank you brother

  • @crazysumavlogs3075
    @crazysumavlogs3075 4 ปีที่แล้ว

    Very clear explanation 👍

  • @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 8 หลายเดือนก่อน

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

  • @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 8 หลายเดือนก่อน

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

    • @ranuchakravarti3277
      @ranuchakravarti3277 7 หลายเดือนก่อน

      No they r different

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

  • @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 4 ปีที่แล้ว

      @@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 2 หลายเดือนก่อน

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

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

  • @nwcoder
    @nwcoder ปีที่แล้ว

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

  • @zafariqbal92
    @zafariqbal92 2 ปีที่แล้ว

    Thank You

  • @laxmanprasadmishra4563
    @laxmanprasadmishra4563 3 ปีที่แล้ว

    Sir how to get stun and tun servers

  • @dev3269
    @dev3269 3 ปีที่แล้ว

    Thanks bro,

  • @Sal-bm4mw
    @Sal-bm4mw 4 ปีที่แล้ว

    Impressive, Good Job!

  • @bonniewyrick7771
    @bonniewyrick7771 3 ปีที่แล้ว

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

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

  • @muslim2k
    @muslim2k 3 ปีที่แล้ว

    sp the signaling server is just a mutual friend.

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

  • @MorseRalap-r3f
    @MorseRalap-r3f 2 หลายเดือนก่อน

    Harris Daniel Moore Robert Brown Sandra

  • @taranjitsingh1689
    @taranjitsingh1689 3 ปีที่แล้ว

    Wow wow wow

  • @arafatbashir3708
    @arafatbashir3708 4 ปีที่แล้ว

    Can you create find my tutor application