Answer the question
In order to leave comments, you need to log in
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
I wrote a bicycle for myself: https://github.com/eddyem/astrovideoguide_v2
And even tried with websockets: https://github.com/eddyem/rasp-spect
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question