PCSSessionWrapper.h 728 B

12345678910111213141516171819202122232425262728
  1. //
  2. // PCSSessionWrapper.h
  3. // sampleSDK
  4. //
  5. // Created by 王昭威 on 2023/1/15.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @class AVCaptureSession;
  10. @class AVCapturePhotoOutput;
  11. @class AVCaptureVideoDataOutput;
  12. @class AVCaptureMovieFileOutput;
  13. @class AVCaptureVideoPreviewLayer;
  14. @interface PCSSessionWrapper : NSObject
  15. @property (nonatomic, strong) AVCaptureSession* captureSession;
  16. @property (nonatomic, strong) AVCapturePhotoOutput* cameraPhotoOutput;
  17. @property (nonatomic, strong) AVCaptureVideoDataOutput* cameraVideoOutput;
  18. @property (nonatomic, strong) AVCaptureMovieFileOutput* movieFileOutput;
  19. @property (nonatomic, strong) AVCaptureVideoPreviewLayer* previewLayer;
  20. @end
  21. NS_ASSUME_NONNULL_END