I’m getting like 300ms of lag when calling the start or stop recording functions. Seems like there’s a stack trace that’s being executed, but it seems like there may be something else going on too. Is this expected behavior or did iOS11 mess things up or something?
I’ve checked it and noticed slight lag when clicking on a button. Wondering if you try to call startRecording code in background thread?
I’ve taken a look at stack trace and it simply says it’s starting recording.
Ok, interesting, that seems like it could potentially work. It does seem though like there is a stack trace debug message being issued that seems to take some time. I think it would make sense to at the very least take out that console log to get another few ms.
Is there any solution to this? We are close to publishing our product but this is holding us back. The game briefly lags on iOS when the recording is started or stopped. This doesn’t happen on Android though.