Description
I believe the isSupportLocalRecording, which determines if a particular user can record, always returns success.
From docs:
If the specified user is enabled to start local recording, the return value is ZoomSDKError_Success. Otherwise failed.
- (ZoomSDKError)isSupportLocalRecording:( **unsigned** **int** )userid;
Which macOS Meeting SDK version?
5.9.3
To Reproduce(If applicable)
Initial Setup:
Client A - custom app with SDK. User is not host but can reclaim it.
Client B - Zoom client. User is not host. This client is attempting to record.
Client C - Zoom client. User is host.
From Client C:
Right click user B. I can see that there is an option to allow local recording. This means that User B does not have permission to record.
If we reclaim host on Client A and call the API, the following method returns SUCCESS
[[[[ZoomSDK sharedSDK] getMeetingService] getRecordController] isSupportLocalRecording:self.userID];
I believe this is incorrect
If Client B attempts to record at this point (from zoom client) they get an error:
This seems consistent with the dropdown menu in Client C. But the SDK client thinks this user is able to record.
If Client C reclaims host, and then allows recording, then it updates in the Zoom client accurately:
Client B can now record successfully.
If Client A reclaims host again (the custom SDK app), and calls canSelfRecordLocalFiles method again, it returns YES like before. This time that is correct, but it seems to always return YES.
If Client A removes permission from Client B to record using
allowLocalRecording:NO User:self.userID
Then Client B can no longer record.
But at this point, the isSupportLocalRecording method is still returning SUCCESS.
Device (please complete the following information):
- Device: Apple MacBook Pro (13-inch, M1)
- OS: 12.0.1