amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / CaptureSourceObserver / onCaptureFailed

# onCaptureFailed

`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.

### Parameters

`error` - : CaptureSourceError - The reason why the source has stopped.