This video is 11 minutes and 18 seconds long and every second is valuable. Thank you.
@anupamadissanayake12993 жыл бұрын
feels good to know that we have the same nationality
@PrasangaBasnayake3 жыл бұрын
@@anupamadissanayake1299 small world!
@alan- Жыл бұрын
It would be a more useful tutorial if it was 20 mins long and not trying to compress everything down to the max.
@-_-90343 жыл бұрын
yes.. now i can finally take down zoom
@PotatoMagnet3 жыл бұрын
😂😂😂😂😂😂😂😂😂😂
@toxaq3 жыл бұрын
Only if you don't want low latency high-res group chat. As-is the host is providing all the bandwidth, it quickly disappears as you add more callers. You'll need a TURN server to host multi-parties reliably and those aren't free.
@JosueRodriguez083 жыл бұрын
@@toxaq low latency high res on zoom....hahaha keep dreaming
@toxaq3 жыл бұрын
@@JosueRodriguez08 I don't use zoom but the setup as in this demo is misleading. It quickly falls apart with any attempt to scale without TURN.
@hamzaelalaoui76903 жыл бұрын
😁😁😁😁🤣🤣👌🏻👌🏻
@FilledStacks3 жыл бұрын
Video chat in 9 minutes! That's awesome, there's actually a lot of companies looking to get this kind of functionality built at the moment. Great video as always! You're Inspiring me to think of a Flutter version if I can get some time.
@istainblack3 жыл бұрын
This channel is awesome. My job (in software) often gets me down, but this channel makes me remember the magic! Thank you.
@ramananfinsceal13193 жыл бұрын
Seriously. I couldn't belive. I was studying abt Web RTC and ur notification popped. Are you eavesdropping 🤪
@shrn3 жыл бұрын
I just started working on a project and it popped up
@scheimong3 жыл бұрын
I love how you used the footage from the guy testifying as a cat
@edwincarlsson90143 жыл бұрын
Oh my christ. I've been looking forward to this.
@cyrilogoh61713 жыл бұрын
Same here
@codeaperture3 жыл бұрын
For a while...🔥
@lallawmzualakhawlhring73403 жыл бұрын
I think I felt my brain just grew watching this.... Thank you for the valuable information. Can you do a short video about OTT(Netflix, Amazon prime type) next kind sir?
@exyios84933 жыл бұрын
OMG this is perfectly timed i was thinking about how to make a video chat app and this dropped thank you!
@phronessys3 жыл бұрын
No react here, perfect
@brindhas89073 жыл бұрын
Fully fire.. every single second. Thank you for sharing.
@chillmusichour3 жыл бұрын
You're the absolute man Jeff
@carlomigueldy3 жыл бұрын
Fireship is the best YT dev channel
@jonathanchavez92033 жыл бұрын
This series is amazing!!!
@danielborges.3 жыл бұрын
Great tutorial! I would love to see one tut about webrtc with angular. Take care.
@_parassolanki3 жыл бұрын
Great video. My favourite programming channel..
@1_AHS_15 ай бұрын
Watch at 2x for best experience.😅😂❤
@eddwinpaz2 жыл бұрын
it would be interesting if you could make a websocket version of it. this is the most clean code I've seen amoung other tutorials.
3 жыл бұрын
Someone has already told it but thanks for bringing it using Vanilla JS. And also thanks a ton for the quality of the video. :)
@mamenatech Жыл бұрын
How powerful nodejs with webRtc can handing peer connection with SFU method?
@pranavbonthala12423 жыл бұрын
lol so early for the first time Btw very nice video man!
@mohanaggarwal40583 жыл бұрын
Literally, one of the best youtube channel for web developers and enthusiasts!!😍😍
@dr.d36003 жыл бұрын
Through Jeff everything are clear!
@hitthemoney3 жыл бұрын
I have been waiting for this!
@anouarzougrar83323 жыл бұрын
JUST.. THANK YOU MAN 🙌🏻🙌🏻
@jeromearenas48573 жыл бұрын
Thank you for sharing your knowledge sir.
@polyhead3 жыл бұрын
Fireship....you are better than best
@lakshaynz Жыл бұрын
Magic! Thank you
@FaizKhan-of9qv Жыл бұрын
This video was dope, it feels like I've gained godly powers after reading the holy book of eternal secrets
@RanjanKumar-bu7ws3 жыл бұрын
I always get confused in the signalling part, first time i tried webRTC following the google developers source, then tried to use a library for webRTC and i didnt liked the results.
@Priming-AI4 ай бұрын
I make this project new version in Angular 17. Tanks !
@professeurish2 жыл бұрын
Thank you man
@shubhammane5423 жыл бұрын
This Channel is a 💎.
@dhartidomadiya38252 жыл бұрын
grate video valuable information to video call app but you build signaling server apprtc ?
@cristianmari12263 жыл бұрын
more of webrtc !!!
@adelarsq3 жыл бұрын
You are my hero! 👏🏻
@programmer40473 жыл бұрын
Won't webrtc result in an excessive bandwidth utilisation? For example, we are connected to 50 devices and I have to send my audio/video to 50 devices 50 times
@Fireship3 жыл бұрын
Yes, large multi-stream chats will need to implement something like a Selective Forwarding Unit SFU to be efficient with bandwidth.
@lesptitsoiseaux Жыл бұрын
“Vite” is French for fast. You pronounce it this way : do the V then just add the normal English “it” sound. Both short in duration. Same as “ Git” but with a V at the beginning.
@cbodapati3 жыл бұрын
Wonderful tutorial videos. I tried to use this in angular, but on line "callDoc.onSnapshot", in main.js, I got this error....Property 'onSnapshot' does not exist on type 'AngularFirestoreDocument'. can you pls help? Wonderful tutorial again!! made a angular version....a very rough version...thanks a lot
@sankhadip_roy2 ай бұрын
why the webcam is not starting in my local machine don't know? can anyone help!
@alirezahaddadi2303 жыл бұрын
This is another awesome content on this channel. I am just curious about the security of this connection. can be spoofed? and is there any solutions to secure it?
@islombekhasanov3 жыл бұрын
we finally saw you!
@TheBorninmotion3 жыл бұрын
please more firebase!
@0xBerto Жыл бұрын
is there a reason that the camera will not activate when using mobile? works on laptop. Also, would you mind doing a full deploy of this will tip $ lol
@limjohnny41563 жыл бұрын
Can someone tell me why WebRTC activity doesnt show up in Chrome's network inspection tool?
@joseisraeldiazzapata51792 жыл бұрын
Awesome, i have a question i hope can receive advices. What should i do if i need to share a Chrome tab with audio to participants and also can use my mic at any time. It's like 2 independent audio streams through webrtc. Pls help
@FOURBITSEDITS2 жыл бұрын
How to change camera while on a call?
@brucewayne24803 жыл бұрын
Amazing video just wondering why zoom doesn't use webrtc ? how do you record a video with webrtc ?
@stomil913 жыл бұрын
What is vanila JS if you using node_module there ?
@SACKO07319 күн бұрын
@Fireship please build this for react-native with firebase
@chinmoyktamal28373 жыл бұрын
This is great tutorial! Can you make a version of this with php and mysql? Its a request to you.Thanks.
@JohnTyree2 жыл бұрын
This makes everything _much_ more complicated, since you'll need to essentially implement firebase's "listening" feature on your own (in javascript) in order to handle the offer/answer flow. You can't really do a project like this with php only since webrtc is a javascript API.
@kumarabhishek38905 ай бұрын
I know js what else do I need to be able to make this?
@juniordevmedia3 жыл бұрын
Please make a beyond 100 sec video on RTMP with Nginx and Nodejs please :')
@geoblk30003 жыл бұрын
Casually forgets to mention the peer-to-peer limit for browsers, meaning that you would need centralized server(s) to route the streams if you hit that limit. That's where the real complexity begins with WebRTC, not to mention peer-to-peer performance handling many simultaneous connections.
@Wakkyguy3 жыл бұрын
Please tell us the source of your background music
@stockswill3 жыл бұрын
As built, what would happen if multiple users answered the call? Or would this be a single P2P call/answer only?
@brightlyvirya750010 ай бұрын
what about one to many video chat app like google meet?
@isaacalexisrivera31572 жыл бұрын
whats the background theme?
@XtrAMassivE2 жыл бұрын
Can WebRTC be used to play multicast stream from an IP camera? I'm looking for a solution to play a live video feed of a security camera over multicast in a browser without any plugins. Any ideas??
@thisisbadpanda3 жыл бұрын
Start Webcam button does nothing
@danko95bgd3 жыл бұрын
Hi, nice video! Can you maybe do a Keycloak in 100s or more. Its a good technology but no good tutorials :(
@oziousmegasus920110 ай бұрын
can i use this for a group chat app?
@aslam31612 жыл бұрын
Can we have more than two users
@inactive_gaming13 Жыл бұрын
Would there be any possibility of converting the server to python and using socket instead with flask?
@aungkyawmoe80232 ай бұрын
WE WANT TO SEE THE HAIRLINE!
@PIYUSH610042 жыл бұрын
How did you set up VS Code for WebRTC? I always get this error "ReferenceError: RTCPeerConnection is not defined"
@AntiWanted3 жыл бұрын
Nice
@chrisarmstrong2721 Жыл бұрын
Can this be used offline using gun.js and p2p
@ecam903 жыл бұрын
"This video would be a crazy 20 minutes long or something." - lol. this is why I love this channel.
@LoveThatSceneChannel3 жыл бұрын
I need a peer-to-peer connection of this channel to my brain
@omaryassir58853 жыл бұрын
This channel is a treasure ✨
@rendoesmath3 жыл бұрын
What the H___
@Hacking-NASSA-with-HTML Жыл бұрын
👎👎👎👎👎👎👎 paid bot
@omaryassir5885 Жыл бұрын
@@Hacking-NASSA-with-HTML bruh!!!!!
@omaryassir5885 Жыл бұрын
What’s your problem?
@jakubwegrzyn37983 жыл бұрын
Thank you for vanilla JS 💪
@klutch41983 жыл бұрын
Literally every single fireship video that comes out juices up any dev who watches it. Rumor has it, that if you watch every single fireship video at least three times you become the danger, end up with a six pack, and Javascript will write itself for you as it sings you to sleep
@acm18123 жыл бұрын
Ultimate chad dev
@ayushijaiswal98133 жыл бұрын
his style of not typing the whole code just undoing the snippet is awesome, saves a lot of time and doesn't get bored. this is the way tutorials should be.
@thecashewtrader33283 жыл бұрын
this
@imranq92412 жыл бұрын
These days JavaScript seems to write itself anyway for better or for worse
@Hacking-NASSA-with-HTML Жыл бұрын
👎👎👎👎👎👎👎 paid bot
@devsauce3 жыл бұрын
After 15 years of software dev, this channel is the best source of concise and nicely presented information for newcomers I've ever seen. Wish I had someone like Jeff back in my days. Well done, sir 🔥
@abiiranathan3 жыл бұрын
Not for new comers. Jeff's videos are tailored to intermediate to pro devs
@shanglee6433 жыл бұрын
@@abiiranathan hi. can you help me a little bit. i am in big trouble in trying to generate SHA-1 key to use fire base. error: missing keystore imgur.com/a/vMV37OA. Something about deprecate gradle feature being used causing trouble. How to stop that?
@abiiranathan3 жыл бұрын
@@shanglee643 This was a web project. Setup for Android is different.
@shanglee6433 жыл бұрын
@@abiiranathan i found out : add 'multidexEnable: true in defaultConfig{} at build.gradle(app level)
@shanglee6433 жыл бұрын
@@abiiranathan no matter what the project, you still need SHA-1 key to use firebase right?
@DavidVerzolla3 жыл бұрын
Would be nice if they make a new 100 videos talking about webRTC and multi-peer connection. Up vote here. 🚀
@igorordecha3 жыл бұрын
People in the poll voting for webRTC demo in React: "The senate will decide your fate" Fireship: "I am the senate"
@thetrends56703 жыл бұрын
Face reveal?
@jashwanthbheemapaka51083 жыл бұрын
Guys don’t waste your time , this only works when both users are connected to the same network
@TheWLNS3 жыл бұрын
why is that?
@stephenkamenar3 жыл бұрын
"from scratch" has really lost it's meaning, jeez
@TheMRJewfro3 жыл бұрын
what about TURN servers?
@CodingNuggets3 жыл бұрын
That was hilarious about the cat. I remember seeing that. Really appreciate this video on WebRTC. Very interesting. Much love and respect. See you soon!
@YexyYT2 жыл бұрын
For all those here in 2022 this tutorial is for an older version of the Firebase SDK. The newer SDK is in modular which require different import notation and greatly changed syntax. Please be weary when following. The is a great reference to learn from but there are much more up to date options out there right now.
@dandyiy2 жыл бұрын
thx
@Daniel323962 жыл бұрын
Can you point us to some updated instructions? What do you recommend for streaming very low latency video? That's all I'm interested in.
@beng63192 жыл бұрын
I've been trying to get this to work for about a week now. I feel so lost.
@vovithenoob Жыл бұрын
would be appriciated if someone knows the updated import, can't find it. Thanks
@KisrDeveloper3 жыл бұрын
He made it in JS, no React, why then polls tho?😺
@Fireship3 жыл бұрын
Ultimately, I felt like React had too much library-specific code that created a distraction from the main webrtc concepts.
@weiiswurst3 жыл бұрын
@@Fireship also vanillajs makes it way easier to adapt this to any framework
@nlattessi3 жыл бұрын
gRPC in 100 seconds please! love your channel ❤️
@Babakinha3 жыл бұрын
Finally, i tried WebRTC a year ago and didn't understand nothing, now im building discord 2 lol
@Vivek20623 жыл бұрын
Most awaited video of all time, thanks Jeff! 💯
@adarshkumar-jw2nz3 жыл бұрын
First Comment 😍 Finally
@Fireship3 жыл бұрын
Gold 🥇
@klutch41983 жыл бұрын
🔦 passing on the torch to you!
@cherriepie3 жыл бұрын
I've been wanting to build a video call app for ages!! But the tutorials are on it are so complex!!
@altafmalik2843 Жыл бұрын
too quick video
@davidellis1550 Жыл бұрын
It's important to note that stun servers are free but can't always handle NAT traversal. Turn servers can handle NAT traversals, but can be expensive. When I started my project, I thought all P2P communications would be free. But, requiring turn servers makes the project much less appealing. I wish I realized that when I started. I can reduce P2P costs with WebRTC, but not eliminate it.
@mrbinspire Жыл бұрын
whats a ballpark estimate way to find out how much these costs are you speak of?
@bilalshaikh660310 ай бұрын
Is stun not usable?
@rc0d39 ай бұрын
Yeah, I to test with my self 2 different network. With a rree turn server with bandwidth 50gb/month. In 5 minutes, with cam I used 50mb of data. WITH 2 PEERS. This is so much, I can use like 7 days full video chat and spent all my free bandwidth. I think that creating my own turn server with cheap VPS with 2 TB of bandwidth by month and video compression before stream will work with a good amount of users. But I'm stucked at compression in javascript. It's hard to do, no simple way... And I'm using simplepeer, that use 30fps all the time and no option for compression, have other peers library that I will try and ffmpeg maybe for compression. I will find a way and turn that viable
@mohityadav213 жыл бұрын
Can we do this without using internet using local network? Basically, without using server over the internet instead creating our own local server?
@SandwichMitGurke3 жыл бұрын
thanks for not coding it in react
@ThomasOrlita3 жыл бұрын
Awesome tutorial, I wish it existed a few years ago. By the way, not sure if you mentioned it, in cases when a direct connection cannot be established (e.g. in a corporate or school network), you can use a TURN server to relay the media data. I think it might be needed in something like 20% of the cases (not sure).
@yokowasis3 жыл бұрын
As of now this code doesn't work. Because the firebase decided to change the syntax on v9. You either have to use v8 or use compat or upgrade the code to v9. So add that 30 minutes of coding into 3 hour of coding.
@ZimmyAutomatic9 ай бұрын
Does anyone know if its possible to make an app where you livestream from your phone to someone in another country
@mbadpa3 жыл бұрын
Most of the new things I learn is from this legendary channel. I hope more people out about it.
@kettenbach3 жыл бұрын
Makes my day when you mention @angular 😍👊
@swaggitypigfig84133 жыл бұрын
Can you hear me judge???
@yagedygag2 жыл бұрын
I cloned your repo, pasted in my firebase config, ran npm install, run locally with npm run dev, click start webcam (works), clicked create call (offer) which does indeed make a new doc in my firestore, but then clicking answer does not do anything. I tried this in the same browser (which looks like it works in your video at 2:58) and tried in different browsers both running localhost:3000. Any ideas? I thought that was all that was needed to run your demo
@sabatin02413 жыл бұрын
With Firebase we can see a good example. But in some applications in production, can't be a choice, because there are too many reading and writing operations for something like firestore. IMO
@sgtduckduck2 жыл бұрын
There is one write and one read per video chat. What are you talking about?