YouTube With Friends Using WebRTC Data Channel

preview_player
Показать описание
in this video I use webRTC to create a react application to watch youtube with friends. Using the webRTC data channel, we can send messages from one peer to another peer. This allows us to tell the other peer which youtube video to load, when to play and when to pause it. I use the simple peer library which is a nice wrapper around the native webRTC api.

If you would like to schedule a mock interview with me, you can email me at

Рекомендации по теме
Комментарии
Автор

The audio and video is slightly out of sync during the intro. Wont be noticed once the coding starts. Apologies for this. Will be resolved for future videos! Thanks for watching and I hope you enjoy!

CodingWithChaim
Автор

My man!!! killing it with the webrtc content! :)

thegeeksides
Автор

I were actually looking for this kind of video. Thank you very much for creating this!!

simonweinmann
Автор

These webRTC tutorials are so high quality keep up the great work. Greetings from Germany

lukasm
Автор

hey, i saw your comment on Cathrin Mannings video and decided to pop by and check your channel out! Great content! Keep it up!

thatone_daniel
Автор

This tutorial came at the right time. Nice video

idongesitntuk
Автор

OMG! More videos of WebRTC please. It's cool! Thanks.

romarioyabar
Автор

Great Videos, I have been walking through all your great webrtc videos. I just have small comments. if you show the demo of what you gonna build at the beginning of the video it will be great . Thanks again for the effort.

ahmeddaraz
Автор

Thanks for these webRTC videos they helped me a lot

amirhosseinrashidi
Автор

Do you need the url of youtube or can you just use an url from another site?

simonweinmann
Автор

This is extremely helpful! My bootcamp team mates and I are building something similar for our final project. Could you suggest an approach for handling the event where a person joins the chat after the video has already started.. We are having a hard time figuring out the logistics of keeping the videos in sync. Oh and thank you for the great content! We really really appreciate your very informative videos on webRTC!

sophiedubois
Автор

Amazing Bro => please More on WebRTC =||= New Idea as suggestion => also make tutorials on Feathers Js => it booming on GitHub but have very little content on YouTube

learnmaziyyah
Автор

Great tutorial, Chaim. But I get this error: Uncaught InvalidStateError: Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel.readyState is not 'open'. Can you please help me debug it? 🙏

pracco
Автор

can you do that with sending audio file as blob and playing the blobfile

robertoart
Автор

This is what I was looking for! But honestly I dont know where or how I need to start the server.. Can you help me?

kordex
Автор

Is it possible to connect to stun and turn servers using simple-peer??

anithaselvan
Автор

When we tried to deploy it on heroku the peers could not get connected . Can you help me with this

padmavathig
Автор

Bro I am an absolute beginner, Can you tell me how to run this code because when i type npm start it says server running on port 8000 but nothing happens once I get there.

apexguitarist
Автор

The browser is throwing a "cannot signal after peer is destroyed" error at the following line.

Can you please help me rectify that error?

anithaselvan