onCameraPreviewStopped
Called when the camera preview stops streaming. This function is invoked when the camera preview stops displaying frames, typically when the camera is released, the app goes to background, or during camera configuration changes.