diff --git a/package/ios/CameraView+AVCaptureSession.swift b/package/ios/CameraView+AVCaptureSession.swift index 86ca441..2d51136 100644 --- a/package/ios/CameraView+AVCaptureSession.swift +++ b/package/ios/CameraView+AVCaptureSession.swift @@ -129,7 +129,7 @@ extension CameraView { invokeOnError(.device(.pixelFormatNotSupported)) } case "rgb": - if supportedPixelFormats.contains(kCVPixelFormatType_420YpCbCr8BiPlanarFullRange) { + if supportedPixelFormats.contains(kCVPixelFormatType_32BGRA) { pixelFormatType = kCVPixelFormatType_32BGRA } else { invokeOnError(.device(.pixelFormatNotSupported))