Dave Wize's avatar

Audio and Video calls within a laravel web app?!

Hi everyone

I'm somewhat of a beginner developer (doing it mostly for fun while in school but I plan to take it further soon); I have taught myself HTML, CSS, PHP, JS, and some frameworks.

Now, I want to know how Internet calling works. Is there any way t get it done within PHP/Laravel? The same question is with two-way texting and video conferencing.

I would really appreciate some good insights into this area.

Actually, I'm curious about the native language to get audio and video over the wire. Is this simple JS?

Please forgive me if my question is stupid. I'm in the learning phase.

0 likes
4 replies
Dave Wize's avatar

Actually, for sending sms there is a dozen of peckages to do that, but what about receiving them, registering phone numbers, video and audio calls, making IVR working?

litvinjuan's avatar

If you're fairly new, I suggest you work on other things to get you familiar and confident before jumping into more complicated topics. Video and voice calling is fairly complicated as it requires p2p communication to transmit those feeds, but with a server in between to handle users and connections. It's not impossible to do, but fairly complicated for someone new. Try googling for a tutorial on how to make a video call app, most people use some open source tools to get a node server running and the p2p communication working

Dave Wize's avatar

@litvinjuan Thanks for your suggestion, but I still want to learn more about the topic,

I googled a lot in the past few days on this topic, but all I saw were some paid APIs such as Twilio and others. My question is if there are any open-source projects that have PHP wrappers.

martinbean's avatar
Level 80

@Dave Wize You don’t make video and audio calls in PHP. PHP is a server-side language. Audio and video calls are made between clients. You would use JavaScript APIs like WebRTC to facilitate communication between multiple parties.

Please or to participate in this conversation.