Answer the question
In order to leave comments, you need to log in
How to make a video broadcast?
Hello. Please advise how to properly design a video server system.
We have a camera that sends a data stream via 4G to the server via UDP. On the server side, a service is written in C that currently has the following functions:
1. receiving RTP packets via UDP from the camera
2. Organizes a buffer of a given length, in which RTP packets are strictly ordered
3. transferring RTP packets from the buffer to ffmpeg lib to form * .mp4 files of a given length.
Those. the camera transmits an audio\video stream, the service generates videos that have links in the database. At the front, we watch videos, everything is ok. But, the task is to simultaneously write a video and watch the same audio-video stream on the front, while being able to navigate through previously viewed material. How to do this?
Answer the question
In order to leave comments, you need to log in
Proxy the video further with ffmpeg/cvlc.
Like ffmpeg accepted, started proxying. The recording script has already been connected to this. And the same stream was given to the client for viewing.
Well, the output of the recorded is an html page with a player, there is a search by date. Next, we form a playlist from the necessary files and give it to the player
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question