Stopping Recording and Stream

When the current game session concludes (e.g., upon player death), call this function to finalize the recording:

playAi.stopRecording();

During the first recording session, the user will be prompted to grant screen recording permission. This permission persists unless manually revoked. Otherwise, permission will be requested again for each later recording session.

Use this function to explicitly stop the recording stream if needed:

playAi.stopStream();

Last updated