[nodebb-plugin-webrtc] WebRTC in Chats (Video Calling)
-
##About
I'm way too tired to write a lot about this. It's nearly 3AM here and I've been working on this from late this afternoon. Just wanted to get this out in the open ASAP so I can finally cross it off my todo-list and so that people who really want / need it can contribute.This plugin essentially adds a
Call
button to the chat modal. Hitting it will allow you to video call another user.It's not the best code, but it works and I'm fairly happy with it, seeing as I started today by not being able to tell if the other user was available to call.
##Install
npm install nodebb-plugin-webrtc
##Usage
After enabling, start a chat with a user. After the other user has also opened the chat window, theCall
button will be enabled. Just hit it##Source
https://github.com/Schamper/nodebb-plugin-webrtc
Please contribute.I'm going to sleep now
And I also need to finally fix that setting in my IDE for tabs vs spaces... -
Well this has given me an idea for some form of mixshow on my new forum which STILL isn't finished. My procrastination knows no ends. :rage1:
Before I install and test this, could 1 person broadcast their own webcam and have other people tuned in to it without a webcam on display? I assume clicking no to "allow access to webcam" would allow this?
-
so I can finally cross it off my todo-list
ROFL
nice todo list. I wish mine was the same, you should look at my whiteboards staring at me right now.
re: the plugin, you are awesome. end of story.
-
@a_5mith it works like a "regular" call, except that for the time being you both must have the chat window open. Person A calls B, (call will only go through if you allow your webcam / microphone, but you can select "none" from the popup window), B will get 2 buttons on his screen, answer and decline. They work as you'd think they would. I currently have no plans to add broadcasting..
@psychobunny Thanks! That's just one item on my todo list though, it has quite a few more...
-
Sweet. I'll probably wait to install it until it is on npm. Seeing as how you were awake late you might notice a couple of fixes before you put it in there.
-
Tried it. Working great!
My compliments to the chef.
-
@Schamper said:
@tedr56 thanks! For the records, I also just put it on npm.
That will be useful.
I did some testing. At start, it's running fine. But after some time, the video from who I'm chatting with is lagging, or freezing eventualy.
The sounds remains good.
I don't if it's related to the nodebb logs :
warn: [socket.io] Unrecognized message: easyrtcAuth warn: [socket.io] Unrecognized message: easyrtcCmd
-
Oh jesus now I want to make a XXX site with NodeBB.
rofl... as long as its not you that picks up,..
-
@psychobunny said:
Oh jesus now I want to make a XXX site with NodeBB.
rofl... as long as its not you that picks up,..
you won't recognize me, i'll be wearing human skin over my own
-
Hi,
I asked @Schamper is this peer2peer video chat or server side (using bandwith) and he was not sure.
Do you any of you guys know ?
-
@kinderjaje said:
Hi,
I asked @Schamper is this peer2peer video chat or server side (using bandwith) and he was not sure.
Do you any of you guys know ?
I was curious about this as well.
Edit: Did some looking. This uses EasyRTC.- Standardized methods of connecting to web cameras and microphones.
- Peer to peer connections. Improves latency and reduces bottlenecks on the servers.
- Standardized negotiation for streaming audio, video and data.
-
@Albus Tnx a lot man