WebRTC Tutorial | Video Chat App Using Native WebRTC API From Scratch

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • In this WebRTC tutorial, we build a video chat app using the native webrtc api from scratch. Follow along as we go from an empty editor to a fully working webrtc video chat application.
    Be sure to like and subscribe and never miss an upload!
    -HIRE ME AS A MENTOR-
    If you would like to hire me as a 1 on 1 mentor you can do so by following this link!
    codingwithchai...
    Here is the best part.... You only pay for the session if you are completely satisfied!!
    So book a session and level up your web development skills today!
    Final Code: github.com/cod...
    Deploy this app: • Deploy WebRTC Video Ch...
    .gitignore I used: github.com/git...
    WebRTC docs MDN: developer.mozi...
    Socket IO Tutorial: • React Chat App Using S...
    If you would like to schedule a mock interview with me, you can email me at
    codingwithchaim@gmail.com for price and details.
    Follow me on Twitter: / codingwithchaim
    Subscribe to the channel: www.youtube.co...
    --SUPPORT THE CHANNEL--
    If you would like to support the channel you can use the below link.
    I would like to stress that while it would be greatly appreciated, in no way is this required!
    link: paypal.me/codingwithchaim

Komentáře • 199

  • @CodingWithChaim
    @CodingWithChaim  Před 4 lety +20

    Do you feel that the native webrtc api is complicated and prefer the simple-peer library, or do you feel that its straight forward enough that there is no need to use simple-peer? I would love to hear your thoughts!

    • @kantemirimamov9247
      @kantemirimamov9247 Před 4 lety +2

      liked both versions but prefer the no library one :)

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety +2

      kantemir imamov I agree!

    • @farandaI
      @farandaI Před 4 lety +3

      I started implementing simple-peer before this video. I think this native way is much more straight forward to fully understand the data flow. I should have started with this. Somehow im working in a project where I needed this. I really appreciate your tutorial! Thanks so much, you made my week much more easy!
      In the other hand, there is an issue with your previous tutorial, I was trying to implement the navigator MediaStream, but I got a flickering video, it took me 1 day to realise the incorrect use of setStream instead of the correct usage of setRef, to avoid the component re render. specially when the component is connected with redux and other props injection which produce the component re render often. linkedin.com/in/farandal

    • @codemon_
      @codemon_ Před 3 lety

      hey man! Great stuff you did with the explanation... I would suggest you go out of the normal just to be unique and of course explore cool ways of doing things... by this said, try working on a one to many or many to many, using the star or mesh network topology

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      @@Kingelodeon never really gave it a shot. I never really had a reason to. Iterm along with fish has been working really well for me

  • @berapoc
    @berapoc Před 4 lety +12

    No nonsense, pure coding and knowledge. Thank you for this great introduction Chaim! Looking forward to other videos on this topic.

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety +4

      My pleasure! I have an entire playlist about webrtc for you to explore!

  • @greedycat9845
    @greedycat9845 Před 2 lety +2

    what can i say. I was amazed someone finally put in the implementation from scratch on webRTC in
    youtube. learned a lot.thanks man

  • @Jugantor-fb5qq
    @Jugantor-fb5qq Před 3 lety +1

    Undoubtedly the best Webrtc tutorial in web. I am feeling blessed to have a tutor like you. Lots of Love from India.Thank you so much.

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety +2

      thank you so much! Really glad you found the video useful

  • @kittel-dev
    @kittel-dev Před 2 měsíci

    Straight viewed in in double speed and it was great to get this flow of Information. ❤

  • @abbasloda1
    @abbasloda1 Před 4 lety +3

    Best time to be alive, you just these gems for free. Thanks sir for your efforts.

  • @elnatanvazana8280
    @elnatanvazana8280 Před 4 lety +4

    The only video on youtube i have watched on 0.75 . great video and great content tho, not many videos on how to code with WebRTC. Toda raba Chaim

  • @quoccuong1733
    @quoccuong1733 Před 2 lety

    Wow all youtuber doing tutorials should follow this format. It's really boring to see people coding and you follow along and learn nothing afterwars. Here you explain stuff as we look at all the codes. If i miss something i can just wind back and see. Good stuff

  • @jonahg6564
    @jonahg6564 Před 3 lety +3

    I keep coming back to this because of the explanation! It's so good!

  • @kyleadams1131
    @kyleadams1131 Před 4 lety +2

    I've watched this video about 10 times and this is the first time I've heard the "Perfect!" from SFII at the end! Ha! Awesome!

  • @anvui95
    @anvui95 Před rokem +1

    Hello thank you very much for your video. I would add illustration when you explain because sometimes its difficult to understand everything but that's only my opinion ^^

  • @hannahbregman7274
    @hannahbregman7274 Před 4 lety

    Thank you for this video! Our final project team had no idea how to configure webRTC, and this really helped us!

  • @zb2747
    @zb2747 Před 2 lety

    10 min in and goooood stuff brother. To the point and very well explained.

  • @ivanguralnik
    @ivanguralnik Před 2 lety

    great stuff Chaim, I'll try it

  • @bala-st9cj
    @bala-st9cj Před 4 lety +1

    Webrtc group chat makes lots of bandwidth ,good to learn extreme beginners only.

  • @pintunag
    @pintunag Před 4 lety +2

    Thank you so much for taking this effort and teaching us

  • @jorgeckhold3781
    @jorgeckhold3781 Před 3 lety +1

    this was exactly what I was searching. Thank you for this great tutorial.

  • @pradneshkalkar5525
    @pradneshkalkar5525 Před 3 lety +2

    Thanks for this video and it helped me to create a video-chat application using react. But, can you please tell how to handle when a user disconnects(say by closing their browser tab/window). I tried using socket.on("disconnect") but I dont know why it is taking around 1min to fire the disconnect event. It would be great if you could please help me in this.

  • @PookyCodes
    @PookyCodes Před 3 lety +1

    Thank you so much for this clear explanation!

  • @asramaa
    @asramaa Před 2 lety

    Nice explanation, thank you.

  • @youssefvideotube
    @youssefvideotube Před 4 lety +1

    You're the best CZcams Teacher Ever !

  • @bakbak1830
    @bakbak1830 Před 3 lety +4

    Can you please do a tutorial on React Native + WebRTC?

  • @solomonogbodo4163
    @solomonogbodo4163 Před 4 lety +2

    So Elegant and straight forward. thanks a lot

  • @vikashjha417
    @vikashjha417 Před 4 lety +2

    Great work, as always. Keep up the great work :)

  • @hakangenc1
    @hakangenc1 Před 4 lety +2

    Great work, keep it up.
    Will you make a video about 1-1 or 1-many real-time notifications with socket.io like Facebook ?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety +1

      certainly a good idea for a video! I appreciate the suggestion and will add to the list.

    • @hakangenc1
      @hakangenc1 Před 4 lety

      @@CodingWithChaim Great, thank you

    • @metin2hilebildirimi842
      @metin2hilebildirimi842 Před 4 lety +2

      @@CodingWithChaim I'm looking forward to seeing the notifications video because almost there is no tut on youtube

  • @robkom
    @robkom Před 3 lety +1

    Using the RTCSessionDescription constructor is deprecated (see developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription ). You should instead call peerRef.current.setRemoteDescription(incoming.sdp). I realized this when reading through www.html5rocks.com/en/tutorials/webrtc/basics, which is quite old but I found it very useful.

  • @z4ls7
    @z4ls7 Před 4 lety +8

    Hello Chaim, Thank you for this great video. really enjoyed and learned a lot. can I suggest you take this tutorial a bit further by implementing one to many (broadcasting service like instagram) ?

    • @dpr6516
      @dpr6516 Před 3 lety

      1 to n would mean that the broadcaster has to share the stream n times. It becomes very expensive and isn't really viable in the peer to peer model of webrtc.

  • @liondeluxe3834
    @liondeluxe3834 Před 4 lety +1

    I was literally searching for this like 3 hours ago

  • @asaflevy9387
    @asaflevy9387 Před 3 lety +1

    Hey Chaim thanks for the great & informative video. Can you establish a multichannel (1 server -> N clients) and record each of the sessions separately?

  • @felipecampos6494
    @felipecampos6494 Před 3 lety

    Thanks!!! This video helped me a lot.

  • @Jandh62808
    @Jandh62808 Před 4 lety

    Great video! Really helped me prep for my presentation. Subbed.

  • @pluscday2
    @pluscday2 Před 3 lety

    thanks for your great video tut. It really helps me a lots. Although it might use some lib such as PEERJS , but I think it is better watch and understand you video; then, one can think whether to apply 3rd party lib or not.

  • @thegeeksides
    @thegeeksides Před 4 lety

    Great vid once again!!! Subbed, liked and watched the ads lol. Anyway, would you mind doing a tutorial on how to do screenshare using simple-peer wbrtc library? Thanks!!! ur videos are super helpful!

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Thanks I’m really glad you enjoyed! I have not yet been able to get screen share to work with simple peer, so for my next video the plan is to show screen sharing using the native webrtc api. Personally I’m planning to completely move away from simple peer

  • @yashgupta417
    @yashgupta417 Před 3 lety

    This is what i was looking for💯
    The only doubt i have is, how to setup the TURN/STUN server.

  • @Noneed999-m3s
    @Noneed999-m3s Před 3 lety +1

    Thanks for the video , when I tape command yarn start I get this issue ./src/routes/Room.js
    Line 36:8: React Hook useEffect has missing dependencies: 'callUser', 'handleRecieveCall', and 'props.match.params.roomID'. Either include them or remove the dependency array react-hooks/exhaustive-deps . any help please

  • @cloudstrife7187
    @cloudstrife7187 Před 3 lety

    Man this is so cool!
    Thank you!

  • @Trookboss7396
    @Trookboss7396 Před 4 lety

    Thank you so much for this video. Very helpful.

  • @umarsheikh7430
    @umarsheikh7430 Před 4 lety

    thanks brother, it is a very good learning session. keep it up

  • @polycarpmomoh7824
    @polycarpmomoh7824 Před 4 lety

    I like the fact that you used the api directly without any wrapper. This is by far the most complicated part of web development that I have seen. still having issues with peerjs and simple peer over internet connection. everything seems to work well with local hosting.. and over the air connection with two devices sourcing internet from the same wifi.... do you know of any solution for this

  • @mukhammadsobirov6376
    @mukhammadsobirov6376 Před 4 lety +1

    thanks a lot! watched more than 10 tutorials from other sources before, nothing worked.
    Just a quick question. the ice servers you've used are only for development purposes right? Will they work on the production level?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety +1

      You are very welcome. Yea I dont think I would rely on these servers for production purposes. I simply found them in some gist listing free to use servers, so I dont know anything about them or how reliable they are.

    • @mukhammadsobirov6376
      @mukhammadsobirov6376 Před 4 lety

      @@CodingWithChaim got it! Thanks again. Will you make any videos on the deployment of webRTC apps? I think there're a lot of people like me wrapping their mind around this issue...

  • @haravamnonn
    @haravamnonn Před 3 lety

    אהבתי ! תודה רבה !

  • @aguyoninternet9883
    @aguyoninternet9883 Před 3 lety

    Thank you very much, love you!

  • @hamzaelaasemy4572
    @hamzaelaasemy4572 Před 4 lety

    I love your videos, keep on the good work

  • @prashoonbhattacharjee8211

    Very informative tutorial!!

  • @juanfelipesuarezburgos5890

    I'm on minute 11:43 . So far so good.

  • @muhammadhamzahaneefqureshi5016

    You will get million subscribers in future. Or otherwise million views not a big deal over that kind of quality stuff :-) ;-)

  • @ikibkilam8383
    @ikibkilam8383 Před 3 lety

    Very nicely done

  • @rajaabdulrafay6443
    @rajaabdulrafay6443 Před 4 lety +1

    Sir, I followed your code same to same, Everything works good, but after i click room the url changes but i cant see anything, just white screen

  • @Davi-did
    @Davi-did Před 3 lety

    Chrome won't even allow camera access without an ssl connection. How do you and every other tutorial do this in localhost without a cert? I've followed your tutorial and several others and run into the same block. The first problem I run into is chrome not serving the video. Then I try to migrate it to a remote server with an ssl and still can't get it to work because your version of nodejs doesn't match mine.

  • @aryanalikhani8777
    @aryanalikhani8777 Před 4 lety

    Thank you for the tutorial

  • @hai1touch
    @hai1touch Před rokem

    I followed the steps in your tutorial, but at the end, localhost:3000 doesn't show me anything. What are some possible reasons why?
    [EDIT] Never mind, it apparently takes a few minutes for the server to run...

  • @aprilmintacpineda2713

    Do you have one like this but using react-native-webrtc? I've been trying to follow these steps, but I'm doing it on react-native however, I keep being cornered in "No Video stream for react tag" error and the remote stream is displaying empty (black) screen.

  • @josemoristacarneirodasilva7831

    Awesome content! Thanks!

  • @jayaramyakkala68
    @jayaramyakkala68 Před 4 lety

    Just awesome!

  • @grafsoul
    @grafsoul Před 4 lety +5

    Thank you for the video!
    You can make a continuation, add functionality such as in meet.jit.si/ or appr.tc/ and place the project on Heroku or Netlify?
    Thank you in advance!

    • @hemanthkumar9723
      @hemanthkumar9723 Před 4 lety

      i too want to know how to do that but for android app

  • @bhagyasree4445
    @bhagyasree4445 Před 4 lety

    Excellent tutorials thank u. Can u explain the installation section required for this project. 👍👍👍👍👍👍

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Thank you! I the root of the project run npm I and then do the same in the client folder

  • @lolololol825
    @lolololol825 Před 3 lety

    Wow, great content!

  • @yadude101
    @yadude101 Před 3 lety

    at 13:21 how does the "payload answer" differ from "payload offer"? i would assume it differs based on the roomid?... but I don't see where this differentiation occurs in the code, or are "offer" and "answer" events that you are emitting?

  • @amrosaad9730
    @amrosaad9730 Před 3 lety

    Thank you. ;)

  • @Rinarei0
    @Rinarei0 Před 3 lety

    Thank you for the video chaim i do enjoy learning with native first then don't mind using libraries because you know hot it works, but may you share knowledge or how to handle the connection with live video stream server? because since it is peer to peer, that mean when let's say, there are 10 users connecting, it would be soo heavy on devices right? thus live video stream server is needed?

  • @will100smith4
    @will100smith4 Před 4 lety

    if in handleReceive , createPeer is called without a userId ,
    then userID will be undefined and handleNegotiationNeededEvent(undefined) will be called set ,
    which then will send a payload with target : undefined ,
    and io.to(undefined) wont call anyone so,
    i dont get why handleNegotiationNeededEvent is called when no id is given ?
    Can someone please explain !

  • @kyleadams1131
    @kyleadams1131 Před 4 lety

    Hi Chaim! Love your videos! Are you available for freelance work and/or tutoring? I'm trying to get a video chat business up and running, but I've run into a couple speed bumps. Let me know :)

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Hi, really glad you're enjoying my videos! Feel free to email me, and we can discuss this further. You can found my email in the about tab,

    • @kyleadams1131
      @kyleadams1131 Před 4 lety

      I'm not seeing it there, sorry! photos.app.goo.gl/D8pCJWkPT8nrXHUw6

    • @kyleadams1131
      @kyleadams1131 Před 4 lety

      @@CodingWithChaim Since I can't find your email, would you just mind emailing me your info, please? kyle.adams.77@gmail.com

  • @Gandolfof
    @Gandolfof Před 3 lety

    Thanks! I have one question left: Does Webrtc optimize video quality based on user's internet connection bandwidth?

  • @boopalanm5206
    @boopalanm5206 Před 3 lety

    In my application the host only wants to see all the participants video and the participants don't want to see the host video and the other participants video.How can i acheive that.

  • @benjaminikwuagwu6469
    @benjaminikwuagwu6469 Před 3 lety

    How can I use the same code on React Native...I really want to create this app on RN, please I need your guide @Coding With Chaim

  • @pesovatech6899
    @pesovatech6899 Před 2 lety

    can I use ur iceServers config, cos I can't install it on windows, making my peer not connecting
    please help

  • @nanduchandran2805
    @nanduchandran2805 Před 3 lety

    Hii....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?

  • @sprintwithcarlos
    @sprintwithcarlos Před 2 lety

    🙌🏾

  • @adrihm8165
    @adrihm8165 Před 3 lety

    why io.to(...) at 12:00 line 25 and not socket.to ?

  • @paulcardoos6277
    @paulcardoos6277 Před 2 lety

    How can I handle a disconnect using the native webrtc?

  • @SportsIncorporated
    @SportsIncorporated Před 3 lety

    I'm at 3 min 12 sec and I can tell already you should be teaching 1st year med school.

  • @fidellistaz766
    @fidellistaz766 Před 3 lety

    i wanna create a random chat app like azar/omegle,,
    how do i make the video chat random

  • @abhiramir9766
    @abhiramir9766 Před 3 lety

    How to handle user leaving?

  • @VongVLogs19
    @VongVLogs19 Před 3 lety

    Im new to the react native world and I am just wondering Will this work with react native?
    BTW THE VIDEO WAS SO AWESOME :D

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      I myself have never tried this yet, but I am pretty sure it would work!
      Glad you enjoyed the video!

  • @dpr6516
    @dpr6516 Před 3 lety

    on firefox this doesn't work :/ console shows a 'MediaStreamError'

  • @shiv3373
    @shiv3373 Před rokem

    How can we get this working on IOS and Android?

  • @jon1867
    @jon1867 Před 2 lety

    Just curious, do you have to use refs to store streams or is it possible to do that with state in react?

  • @ashshaheen916
    @ashshaheen916 Před 3 lety

    what is the extension that you are using on VScode for JS snippets and guiders

  • @SuperLucasGuns
    @SuperLucasGuns Před 3 lety

    if you have the proper background to watch this video, it is amazing.

  • @thesk8erdav
    @thesk8erdav Před 4 lety

    hey can you do a tutorial on setting up a jitsi or janus server and integrating it with simple peer or native webrtc?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      I will explore this as an idea for a future video. Thank you for the suggestion!

  • @mcotechtv4180
    @mcotechtv4180 Před 4 lety

    where to write the command rm -rf Video-caht / i wrote that in node js black screen it is not working
    please help i know im noob but please help

  • @weltmeister
    @weltmeister Před 4 lety

    the issue that I have with this approach is, when we have 10 people communicating at the same time with webRTC and one of them has a bad connection? if everything was connected together and the videos were combined together into one video so that it's easier to stream to users with bad internet don't you think that would scale better? or will there always be some latency with the second approach? and what if we combine both approaches to try and detected who are the users with the worst connection and use the second approach for them while the ones with a good connection use webRTC directly?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Yes absolutely simple peer to peer does not scale for anything past 4 to 6 ppl. For more users in a call at the same time a peer to server approach is preferred. The approach you describe is achieved using an MCU (Mixing Control Unit) this is a very expensive approach, so there is another called SFU (Selective Forwarding Unit) which is supposed to be cheaper.

    • @weltmeister
      @weltmeister Před 4 lety

      ​@@CodingWithChaim thank you for the reply I'll have to search for the info you gave me and see if it fits what I need, again thank you

  • @elmcapp6032
    @elmcapp6032 Před rokem

    could you just use a callback knowndging to get other user instead of emitting back to yourself ?

  • @mmroshani
    @mmroshani Před 3 lety

    hey tnx so much. how can i disable my sound that come back from speaker in my browser?

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      I’m assuming you don’t wanna hear yourself. If that’s the case, you can add the muted attribute to your video tag.

  • @rolandocaraballo
    @rolandocaraballo Před 3 lety

    Big question... How can I integrate that video chat that using laravel. I am there is some tutorial but they are all ways based on localhost and not on deployment on an apache/PHP server. Can do you have a tutorial on how to do that? Thanks

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      Unfortunately that is not the tech stack I’m familiar with so as of now I won’t be able to make a tutorial on that

  • @2222974Vairus
    @2222974Vairus Před 3 lety

    What can we do to have more than two users

  • @arnaujordaverdu
    @arnaujordaverdu Před 3 lety

    When I open the room and the other open the link, it says: Internal Server Error

  • @raghuvallikkat3384
    @raghuvallikkat3384 Před 4 lety

    do we need STUN and TURN file configuaration for simple-peer library? Also , STUN/TURN service used here( numb.viagenie.ca ) , is it a free service or need to take paid subscription( after some free usage or so)?

  • @tuananhvu7896
    @tuananhvu7896 Před 4 lety

    I have followed your code but with getUserMedia config video option set to false and set muted on userVideo tag. The problem is i cant get audio from partnerVideo. Have you had any idea of these? Thanks

    • @tuananhvu7896
      @tuananhvu7896 Před 4 lety

      i also have received srcObject from ontrack handler and attached it to the partnerVideo but no clue why it doesn't work

  • @venkatavallamreddy3084

    I am testing your POC on Mac safari, but when i click on the create room the video is not opened and observed some errors in the console. Is this compatible on Mac devices?

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      Need to know more about all the steps you’ve taken. I use a Mac and the video is of me using a Mac

  • @cd78
    @cd78 Před 3 lety

    Does this have to be done through node. Issent node.js now heading to the shitter with security vulnerabilities and other issues??

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety

      Not sure what you’re referring to at all, but regardless you can use any backend tech you like

  • @gutsultv
    @gutsultv Před 2 lety +1

    Native WebRTC API means C++ api, not JS!

  • @urban_roller
    @urban_roller Před 4 lety

    please make one video on group video call

  • @dominikr8730
    @dominikr8730 Před 4 lety

    What do you think are the benefits for using twilio, agora etc. to use relay servers and STUN/TURN?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      My gut feeling would be because they are trusted players in this space which for a production app might be a good idea

    • @davidmontdajonc6332
      @davidmontdajonc6332 Před 3 lety

      @@CodingWithChaim Yes but the price they offer per minute specially for group video chats is unnaffordable!

  • @lemoniahoffmann8401
    @lemoniahoffmann8401 Před 4 lety

    is this running on prod or will face any CORS issues ??

  • @williamwang9559
    @williamwang9559 Před 4 lety

    Than you very much for this great tutorial.
    I would like to deploy this to Heroku, I changed the port number part but still the server cannot run on cloud. Can you give me some advices?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      I actually have a video which can help you with this topic. Here is the link czcams.com/video/RQcWKcMa_Jc/video.html

    • @williamwang9559
      @williamwang9559 Před 4 lety

      @@CodingWithChaim thanks a lot!

  • @CodingShiksha
    @CodingShiksha Před 4 lety

    Bro I always have the ambition to create Omegle random chat Website like omegle.com can you make a Omegle clone not video but user will be allowed to enter interests and then based upon it when a new tab opens there will be a button which will randomly pairs two users at a time to chat please make a video on that using webrtc or simple peer plz bro Omegle clone using webrtc api

  • @ClaymorePT
    @ClaymorePT Před 3 lety

    When I read that the Native WebRTC API was being used, I was expecting the C++ API. I became disappointed when I saw that it was JS. Still, nice tutorial.

    • @Vidur11
      @Vidur11 Před 3 lety +1

      A web application using the C++ API? Do you want to lose all the hair on your head?

  • @lahiru2100
    @lahiru2100 Před 3 lety

    Can we extend this for more people for video conferencing?

    • @CodingWithChaim
      @CodingWithChaim  Před 3 lety +1

      In this video I demonstrate how to create a 4 way video chat using simple peer which is a wrapper around webrtc. The concepts are the same whether you use simple peer or not
      czcams.com/video/R1sfHPwEH7A/video.html

  • @robbielewis8559
    @robbielewis8559 Před 4 lety

    I tried something similar and I got it to work on my computer but I couldn't get a separate laptop to work with the same link how can I share it to others. Do I have to deploy it in order for the app to be usable by others?

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Yes just like any other website, you need to make it accessible over the web for others to be able to use it. You can deploy it, or use something like ngrock

    • @robbielewis8559
      @robbielewis8559 Před 4 lety

      @@CodingWithChaim cool beans! nice tutorial btw

    • @CodingWithChaim
      @CodingWithChaim  Před 4 lety

      Thanks!