I am using gstreamer to capture frames rhrough appsink, How to pass this timestamp to gstreamer
// Example sensor timestamp in monotonic time (for testing)
uint64_t sensorTimestamp = static_cast(iMetadata->getSensorTimestamp()); // Example sensor timestamp (monotonic)
// Convert sensor timestamp to real-time
uint64_t realTime = convertToRealTime(sensorTimestamp, monotonicRawStart, realTimeStartSec, realTimeStartNsec);