J
J
jenya_zhilin2021-07-05 06:44:50
PHP
jenya_zhilin, 2021-07-05 06:44:50

How can I implement a video stream on the server?

Hello everyone, I am writing a Rest API, there is a need to implement such a thing: there is an admin panel, a camera is selected in it (video stream in online mode) and sent to the server, then you can get this broadcast in the API, I have a question, how can I implement it in PHP or on Node.JS such a thing so that you can send video from the device in real time and you can already get it on the server.

For example:
a person has selected a webcam in the administrative panel, then the video is sent to the server and, for example, a video stream will be output through a request of this format: example.com/?get=video&type=stream&id=num_stream_id

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2021-07-05
@Sanes

Is it just not an option to give a link to the stream?

R
Rag'n' Code Man, 2021-07-07
@iDmitriyWinX

nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question