NatCorder
Search…
IClock
interface NatSuite.Recorders.Clocks.IClock
This interface provides an easy way to generate timestamps during recording. The interface exposes a single property, the timestamp:
1
/// <summary>
2
/// Current timestamp in nanoseconds.
3
/// </summary>
4
long timestamp { get; }
Copied!
Clocks are important for synchronizing video and audio tracks. As a result, the very first timestamp reported by a clock will always be zero.
All clocks are thread safe, so they can be used simultaneously from multiple threads.
Last modified 1yr ago
Copy link