FURenderViewController.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // FURenderViewController.h
  3. // FULiveDemo
  4. //
  5. // Created by 项林平 on 2022/7/19.
  6. // Copyright © 2022 FaceUnity. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <AVFoundation/AVFoundation.h>
  10. #import <FURenderKit/FURenderKit.h>
  11. #import <FURenderKit/FUVideoComponentDefines.h>
  12. #import "FUBeautyComponent.h"
  13. #import <Masonry/Masonry.h>
  14. #import "FUHeadButtonView.h"
  15. #import "FUCaptureButton.h"
  16. #import "FURenderViewModel.h"
  17. #import "FUTipHUD.h"
  18. #import "WHTheme.h"
  19. NS_ASSUME_NONNULL_BEGIN
  20. @interface FURenderViewController : UIViewController<FURenderViewModelDelegate, FUHeadButtonViewDelegate, FUCaptureButtonDelegate>
  21. /// 渲染视图
  22. @property (nonatomic, strong, readonly) FUGLDisplayView *renderView;
  23. /// 顶部功能视图
  24. @property (nonatomic, strong, readonly) FUHeadButtonView *headButtonView;
  25. /// 魔法棒 打开美颜设置
  26. @property (nonatomic, strong) UIButton *magicStickBtn;
  27. /// 人脸/人体/手势检测提示标签
  28. @property (nonatomic, strong, readonly) UILabel *noTrackLabel;
  29. /// 额外操作提示标签
  30. @property (nonatomic, strong, readonly) UILabel *tipLabel;
  31. @property (nonatomic, strong, readonly) FURenderViewModel *viewModel;
  32. - (instancetype)initWithViewModel:(FURenderViewModel *)viewModel;
  33. // 切换前置/后置摄像头
  34. - (void)chileHeadButtonViewSwitchAction:(UIButton *)btn;
  35. - (void)showSheetView;
  36. @end
  37. NS_ASSUME_NONNULL_END