WebRTC Data Channel | Text Chat Using WebRTC Data Channel

preview_player
Показать описание
In this video I demonstrate how to use the webrtc data channels to create a simple text chat with webrtc.

If you enjoyed the video, please consider dropping a like! It helps really helps the channel!

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

Loving this channel. Really clear and concise, but still in-depth explanations, and all while tackling more advanced concepts than most other similar channels.

andreacappuccio
Автор

Thank you so much for this excellent tutorial 🙏

nastaranmotiee
Автор

Great playlist. But please help I am getting TypeError: Cannot read property 'send' of undefined in sendMessage function

navyadahiya
Автор

I wonder if it is possible to stream one to many using this library. I put an example video on the website and everyone who enters it sees my stream?

krzusiekniwazne
Автор

what is the difference between your way (handling the offer. answer, ice-candidate..) at your server

and using peerjs
??

moatazabdulbaqi
Автор

Please create a playlist or put it in description the order to master webrtc, awesome content sir

krishnachaitanya
Автор

Hi Chaim, I am new to react but slowly getting to grasp with it... However, on each of your superb webrtc implementations (chat, screenshare and now datachannel), I can only get them to work locally via 'yarn start'. Each time I try to build a static version with the 'npm run build' option, the resulting built index.html file displaysI a blank screen wether I try to run it locally or on my VPS. Any idea why this is?

PierreCurtet
Автор

Does data channels suitable for multiplayer real time games?

llliiillliiilll
Автор

Hi I'm back with another question after 3 Months... Can we establish a connection to a peer without sending an offer ? Is there a way that we can connect to a particular peer without sending an offer or.. a way that peer automatically accepts the offer?

rajenderkatkuri
Автор

Hi, Chaim do I need to specify any extra constraints while creating data-channel to send binary data? because when I send the string message its working fine but when I try to send a text file less than 2kb the message event on the other peer is not triggering.
Thanks in advance!

jayarammanikumar
Автор

Eres un genio. Muchas gracias por compartir tus conocimientos. Seria interesante ver la codificacion para el control remoto en una aplicacion como esta. Saludos.

daimoncardenas
Автор

if I'm in a local network which doesn't have access to the outside internet would this still work? considering I don't have access to outside stun/turn servers? sorry for the noob question, I'm new to webrtc

weltmeister
Автор

I have a doubt. Let's say User A created a room and then sent some message. User B on the other hand joined the room after user A sent some message. My question is will user B be able to see the message of user A which A sent before joining of User B?

ritikjain
Автор

Would love to see some content on react three fibre by react spring

hanibal
Автор

Great video! Any idea how to launch it for production?

conormccormack
Автор

So you are not using simple peer anymore?

deveshp
Автор

Pls demonstrate, first, the simplest code to send a line from one peer to the other, even by supplying default values. The all-in-one complete solution, it's too much to start with.

peberdah
Автор

How do I run this application on multiple servers? To ensure access to hundreds of thousands of users is not slowed down, such as group video chat. Hope you make a video to do the same.

pronamtruyen