O
O
olekill2016-11-01 12:54:48
PHP
olekill, 2016-11-01 12:54:48

How to organize a video broadcast from the user's webcam to the page?

It is necessary to make everything as convenient as possible for the user, so that he clicks on the button - gets the url, can share this URL with friends and they can also watch the broadcast through the player.
Broadcasting should be carried out from a webcam, and multi-threaded, i.e. so that many people can create their broadcasts. The site is written in PHP, server: Debian + Nginx web server.
I was looking at the rtmp-module for nginx, but something didn’t work out with it ... plus, as I understand it, it’s not dynamic, every time you need to dump configs, open new ports and didn’t really understand how to organize the broadcast through a web page from the user's camera, not from the camera connected to the server.
Please do not offer third-party services like twitch, youtube either, I would like to implement all this using only the resources of my server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-11-01
@webinar

There are many recipes here:
https://yandex.ru/search/?text=streaming%20video%2...
But your task is very difficult. First of all, the complexity is in the server: https://habrahabr.ru/post/111249/ In fact, this is a server for conferences and webinars. These are huge resources and a very complex structure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question