Closed wisolith closed 8 years ago
Thanks for the PR. I'll merge this in but will add another commit on top for:
#if SIMULATE_CAMERA
@property(nonatomic, strong, readwrite) CALayer *previewLayer;
#else
@property(nonatomic, strong, readwrite) AVCaptureVideoPreviewLayer *previewLayer;
#endif
There were some errors when compiling for release because the types mismatched when SIMULATE_CAMERA
was not set.
Update CardIOVideoStream's previewLayer to CALayer to allow it to be a SimulatedCameraLayer.
Resolves the following compile error in Xcode 7.3: