I’m having trouble reliably pinning users with the SDK. I discovered after some experimentation that PinVideo always returns SDKERR_WRONG_USEAGE when there are fewer than three users joined. I note that the regular Zoom UI allows pinning with only two users joined. But even if I wait for at least three users to join, the SDK sometimes refuses to pin the video, returning SDKERR_WRONG_USEAGE. The userID is correct and the user has already joined.
Am I missing something? What conditions can cause SDKERR_WRONG_USEAGE when pinning?