Answer the question
In order to leave comments, you need to log in
How to minimize video broadcast delay time on raspberry pi + camera?
I'm trying to get an online broadcast from a raspberry. Scheme - raspberry pi, native video camera connected via CSI, ffmpeg nginx with rmtp module. Everything works, but the huge video delay is depressing (about 3-5 seconds).
Tell me - in which direction to look, in order to minimize the delay to 0.1-0.5 seconds. Perhaps I've chosen the wrong direction and should I drop rmtp ?
Perhaps someone has experience in building such a system - I'll be happy to hear suggestions / advice.
Answer the question
In order to leave comments, you need to log in
Delays can be caused by the following reasons:
- transcoding before sending via RTMP
- RTMP caching on the server side
- data network delays (WiFi?)
- RTMP caching on the client side (in the Flash player container)
Try to sequentially analyze what is happening on each stage.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question