N
N
Neonailol2015-12-02 13:44:25
linux
Neonailol, 2015-12-02 13:44:25

How to organize restreaming of a video stream?

It is required to organize the following scheme:
1. An Android device captures video from a webcam (there can be an unlimited number of such devices, and you cannot connect to it via ip)
2. Broadcasts it to a web server via UDP, preferably with authorization, so that you can understand where it comes from stream
3. The web server for each client gives a stream in real time at a unique url
4. Perhaps in the future it will be necessary to record the stream on the server side
I would like to know what open source projects can help in creating a web server

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eddy_Em, 2015-12-02
@Eddy_Em

I wrote a bicycle for myself: https://github.com/eddyem/astrovideoguide_v2
And even tried with websockets: https://github.com/eddyem/rasp-spect

Y
Yuri Udovichenko, 2015-12-03
@Aquary

Your task is usually solved in a slightly different way.
1. The stream from the camera goes to the software, which is called the media server. Here I described what it is and what examples there are: On what platforms do online broadcast services work?
2. The media server converts the stream from a format supported by the camera to a format understood by the end user player. At the moment, the most common formats (or protocols) are HLS, RTMP, MPEG-DASH. The same media server can also record video for later playback.
3. On the website, you install a web player that understands the streams from step 2. I can recommend JWPlayer, video.js, bitdash.
An Android application in this chain is superfluous.

D
Dmitry Volodarsky, 2017-01-20
@Mountain

https://restream.io/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question