Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rajeshtva's avatar

How to implement local webcam video broadcasting in laravel.

i am working on a project where :

  • there are two kinds of user. like a. teacher and another student.
  • teachers can use his/her camera to broadcast from his screen/webcam to teach students.
  • student can automatically join the broadcasting if he is online and if the teacher is taking class.
  • it the teacher is not online then the student should see a video streaming automatically.

I looked on internet, but i have problem in understanding how to implement. So i want suggestions regarding it. I am using laravel 8, xampp server

0 likes
2 replies
rajeshtva's avatar

@tisuchi the package you mentioned is about one-to-one video chat, it doesn't implement group video broadcast. but i want to implement feature something like Instagram/Youtube live where any number of streamer can broadcast to any number of listener.

upon googling furthur, i come to know that i need to implement RTMP server and use OBS studio to broadcast. but i am not sure if my implementation will work for multiple broadcaster or not. also that implementation is using nginx server, but i am on apache server(xampp implementation). so i am not sure.

is there not any relatively easier method for that?

Please or to participate in this conversation.