Description
I have written below code to start recording.
Line1:
ValueType starttimestamp = (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
Line2:
sDKError = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingRecordingController().StartRecording(ref starttimestamp);
In the code above at line 1 throws exception “System.ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value
at System.DateTime.Add(Double value, Int32 scale)
at ZOOM_SDK_DOTNET_WRAP.?A0xe11cbd8a.time_t2DateTime(Int64 date)
at ZOOM_SDK_DOTNET_WRAP.CMeetingRecordingControllerDotNetWrap.StartRecording(ValueType& startTimestamp)
at BBZoomMeet.frmBBZoomMeet.DoZoomMeetingAction(String MeetingInfo) in C:\VarshaProjects\TestProjects\BBZoomMeet\frmBBZoomMeet.cs:line 959”
Please suggest the solution.
Which Windows Meeting SDK version?
Version used is zoom-c-sharp-wrapper-5.9.7.3953
To Reproduce(If applicable)
Steps to reproduce the behavior:
Write the code as mentioned as Line1 and Line2 in c#.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: [e.g. Dell XPS 13]
- OS: [e.g. Windows 10]
Additional context
Add any other context about the problem here.