@todor ,
In your case, the wrong usage error might be due to calling the method from non-main thread.
Typically here’s the flow
- The settings should already allow local recording for the specific meeting.
- The SDK joins the meeting, and request for recording permission from host
- When there is a callback on the approval, call startrawrecording on the main thread. Do note that you cannot call both startrawrecording and startlocalrecording at the same time, they are mutually exclusive.
- Once startrawrecording is called, you can subscribe to user’s video.