4 ms·
I wonder how much latency is added in when you feed the RTMP into ffmpeg. Why not just plain old webrtc with the viewing clients muted.
by manishsharan 6y ago
I wonder how much latency is added in when you feed the RTMP into ffmpeg.
Why not just plain old webrtc with the viewing clients muted.
- SahAssar 6y agoNot many security cams support webrtc and if doing broadcast (and the server is directly reachable) HLS or MPEG-DASH is usually more efficient anyway since plain file serving is simpler and can be cached/optimized in ways that are harder for protocols like webrtc. HLS/MPEG-DASH are higher latency, but that can be reduced to a few seconds or less with tradeoffs.
- dkh 6y agoThere are also things like LL-HLS and others coming down the pipeline that will further reduce latency issues with a lot less complexity than WebRTC. (Maybe not for the security camera not-many-viewers use-case, but certainly for anything being watched by a lot of people)