Wait for 300 secodns before complaining about the age of a sync.

This commit is contained in:
Mike Brady
2021-12-21 15:03:28 +00:00
parent 6d14698391
commit 2e6eb23a04
+1 -1
View File
@@ -1280,7 +1280,7 @@ int get_ptp_anchor_local_time_info(rtsp_conn_info *conn, uint32_t *anchorRTP,
if (response == clock_ok) {
uint64_t time_now = get_absolute_time_in_ns();
int64_t time_since_sample = time_now - actual_time_of_sample;
if (time_since_sample > 10000000000) {
if (time_since_sample > 300000000000) {
if (long_time_notifcation_done == 0) {
debug(1, "The last PTP timing sample is pretty old: %f seconds.",
0.000000001 * time_since_sample);