Screen capture has already started, repeated calls failed. You need to stop the capture with [stopScreenCapture] first.
Audio recording object creation failed. Possible reasons: 1. The audio recording permission is not enabled; 2. The allocated memory for audio recording is insufficient; 3. The creation of AudioRecord fails.
Audio device exception. You need to restart the capture.
The capture target fails, such as the monitor is unplugged and the window is closed.
Exception interrupted. For example, the user clicks the stop button in the control center during the capture process.
Failed to start the foreground service.
MediaProjection request for dynamic permissions was denied.
Capture is not started. Need to start capturing with [startScreenCapture] first.
Before starting screen capture, you need to call [setVideoSource], [setAudioSource] to specify the video and audio source ScreenCapture.
System error exception. For example, low memory, etc.
Unknown exception type.
The video capture system version does not support it, and Android only supports 5.0 and above.
Generated using TypeDoc
Screen capture source exception type. (only for Android and iOS)