WebRTC Video Chat With Only PHP and JavaScript (No NodeJS or WebSockets)
Submitted by admin on Fri, 09/08/2023 - 11:40amNot long ago I set about trying to create a video chat (Zoom/Skype/Meetings clone) using only PHP and JavaScript. Every solution and example I found online required that I have NodeJS running a server, which I didn't want to do so as to not complicate matters on the web server. After many hours of searching and experimentation, I finally found a solution that works.
I based my solution on the preliminary work done by neilsbaloe, though where he uses plain text files, I use a database like MySQL. Also, I found that with his solution, it only worked about half the time for me, especially if one of the browsers hit "refresh".