Open ZeoWorks opened 7 months ago
I don't know whether UDP is faster than pipe, but I tried UDP (in topic branch) and it seems work at a time...
Hi, ah yes you appear to be correct this branch does work and there's not a noticeable latency difference. Perhaps the extra latency is coming from the h264 grabbing itself. Do you have any ideas on how to reduce latency?
I've noticed this is able to achieve no additional latency; https://github.com/delcourtfl/stream-play-server?tab=readme-ov-file
This program focuses on AV-sync rather than low-latency, so it adopts input mpegts despite the underlying delay caused by the mpegts format itself. Additionaly, mpegts-to-webrtc has a delay for one PES packet to decide the exact frame duration. Therefore, this program is not suitable for ultra low-latency.
Hi friend,
In my experience I've noticed that reading ffmpeg output via localhost UDP communication is actually faster than piping (lower latency). I was wondering if you know a way to implement this as opposed to piping?
Thanks
Reference for reading UDP packets from ffmpeg;