WebRTC has an experimental statistic googCaptureStartNtpTimeMs in the ssrc recv report of WebRTC stats. I believe it is defined as the NTP time when the stream started on the sender's side in milliseconds.
I'm want to sync my clients with the same NTP clock WebRTC uses to generate that googCaptureStartNtpTimeMs.
I've been googling around and searching/reading WebRTC source and I cannot find which NTP server(s) are used to generate this stat. I'm assuming all NTP servers cannot possibly be in sync, so I need to figure out exactly which NTP server(s) WebRTC is using so I can sync my clients with their googCaptureStartNtpTimeMs timestamp.
I see a few options:
Searching for these in the WebRTC source yields no results. pool.ntp.org seems promising because it will help find an NTP server close (low latency) to where the request was made from. But, if the NTP pool is not in sync with NTP WebRTC, it will be useless to me unless I can get the offset between NTP pool and NTP WebRTC.
My question boils down to:
googCaptureStartNtpTimeMs?--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/f2d621f6-8a3c-4fdc-a88a-2ec4f052309a%40googlegroups.com.
When WebRTC refers to NTP timestamps, it means timestamps with an epoch of January 1st 1900, rather than actually syncing of clocks through NTP servers.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss...@googlegroups.com.
To make things worse, I've also seen cases where it jumps back and forth every now and then.
IMO the only thing it can reliably be used for in the real world is to synchronize streams from the same sender.