NatCorder
Search…
NatCorder
NatCorder
Preliminaries
Getting Started
Requirements
Workflows
Fundamentals
Recorder Inputs
Recording Textures
Offline Recording
Performance Considerations
API Reference
IMediaRecorder
IClock
FixedIntervalClock
RealtimeClock
ITextureInput
Recorder Inputs
Integrations
Media Devices
Augmented Reality
Social Sharing
Video Transcoding
Beyond Unity
Insiders
Changelog
FAQ
Open Source
GitHub
Discord
Medium
Powered By
GitBook
IClock
interface NatML.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.
Previous
WEBMRecorder
Next
FixedIntervalClock
Last modified
14d ago
Copy link