We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8fc18bc + 3c306f6 commit 5d44910Copy full SHA for 5d44910
src/main.cpp
@@ -121,7 +121,11 @@ class CameraWrapper {
121
cam->SetStreamDelegate(delegate);
122
123
auto start = time(NULL);
124
- cam->SyncLocalTimeToCamera(start);
+
125
+ uint64_t utc_time = static_cast<uint64_t>(start);
126
+ uint32_t offset_time = 0; //no offset from UTC
127
128
+ cam->SyncLocalTimeToCamera(utc_time,offset_time);
129
ins_camera::LiveStreamParam param;
130
param.video_resolution = ins_camera::VideoResolution::RES_1920_960P30; //Change this line to edit the resolution
131
//Possible resolutions (results may vary per model) are:
0 commit comments