Description
Hello, we have a problem in the application with the methods of starting and stopping recording, after updating the zoom SDK. When executing the start → stop methods, we get a System.ArgumentOutOfRangeException. We reproduced this issue in the demo application, in the code below, and in what is output to the console when this code is executed. In the old version of the SDK, the date after the start method is executed is converted to the UTC format, in the new version 1970 is returned.
To Reproduce
private void Button_Click(object sender, RoutedEventArgs e)
{
Console.WriteLine("Start recording...");
ValueType time = DateTime.Now;
Console.WriteLine("Date before sdk code: " + time);
var err = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap()
.GetMeetingRecordingController()
.StartRecording(ref time);
Console.WriteLine("Date after sdk code: " + time);
Console.WriteLine("Recording Start: " + err);
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
Console.WriteLine("Stop recording...");
ValueType time = DateTime.Now;
var err = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap()
.GetMeetingRecordingController()
.StopRecording(ref time);
Console.WriteLine("Recording Stop: " + err);
}
Console output:
Auth: SDKERR_SUCCESS
Join: SDKERR_SUCCESS
Status: MEETING_STATUS_CONNECTING
Status: MEETING_STATUS_INMEETING
Start recording…
Date before sdk code: 16.12.2021 16:23:29
Date after sdk code: 01.01.1970 0:00:00
Recording Start: SDKERR_SUCCESS
Stop recording…
Exception thrown: ‘System.ArgumentOutOfRangeException’ in mscorlib.dll
Which Windows Meeting SDK version?
v5.7.6.1081