Hi all,

in my media streaming application I need to synchronize the stream
output to a PTP GM. To do so, I have used ptp4l + phc2sys and then read
CLOCK_REALTIME or CLOCK_TAI. This works well, but my problem is that the
GM *might* be at randomized time and date, which is bad for the system
time keeping.

I thought about using the PHC directly, but as I understand the time
retrieval is contraint by bus speed and jitter, which is bad for low
latency media streaming synchronization. Using phc2sys mitigates these
constraints through algorithms I cannot even begin to understand and the
clock retrieval from CLOCK_REALTIME is incredibly fast.

So my question would be: Is there a way to use the synchronization
algorithms of phc2sys for a "virtual" clock either in shared memory
through a daemon process (maybe even phc2sys itself) or inside my
application. So I can have fast, stable read outs of the PTP clock,
while keeping the system clock PTP independent?

Thanks,
jotz


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to