abstract fun onCaptureFailed(error: CaptureSourceError): Unit
Called when the capture source failed unexpectedly. This may be due to misconfiguration or Android system error, and the capture source may be in an unknown state.
This does not necessarily indicate that calling VideoCaptureSource.start again will fail.
error
- : CaptureSourceError - The reason why the source has stopped.