Description
SDKERR_WRONG_USAGE when calling RequestLocalRecordingPrivilege from MEETING_STATUS_INMEETING state.
Which Windows Meeting SDK version?
6.1.1
To Reproduce(If applicable)
Code snippet
void MeetingEvent::onMeetingStatusChanged(MeetingStatus status, int iResult = 0) {
switch (status)
{
case MEETING_STATUS_INMEETING:
{
cout << "In Meeting" << endl;
if (SDKInterface::getInstance()->canIStartLocalRecording() == true) {
cout << "Can start local recording" << endl;
}
else {
cout << "Cannot start local recording" << endl;
}
IMeetingRecordingController* recordingController = SDKInterface::getInstance()->getRecordingController();
recordingController->SetEvent(new RecordingEvent());
SDKError res = recordingController->RequestLocalRecordingPrivilege();
cout << "RequestLocalRecordingPrivilege: " << res << endl;
Console output

Device (please complete the following information):
- Device: Dell G15
- OS: Windows 10