webRtcPlayerViewController.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // webRtcPlayerViewController.h
  3. // 双子星云手机
  4. //
  5. // Created by xd h on 2024/9/2.
  6. //
  7. #import "BaseViewController.h"
  8. #import <WebRTC/AMediaStream.h>
  9. #import <WebRTC/RTCMacros.h>
  10. #import "UIView+HWCategory.h"
  11. #import "webRtcMsgModel.h"
  12. #import "webRtcPlayerBottomContrView.h"
  13. #import "RcGameWQKeyChain.h"
  14. #import "ComontAlretViewController.h"
  15. #import "UIInterface+HXRotation.h"
  16. #import "errorAlertTool.h"
  17. NS_ASSUME_NONNULL_BEGIN
  18. @interface webRtcPlayerViewController : BaseViewController
  19. {
  20. CGRect startFrame;//悬浮标拖拽用
  21. CGFloat lastVideoWHRate;//上传的流宽高比
  22. BOOL isLan;//是否是横屏状态
  23. BOOL isLanAndPrivacyEnterBackground;//是否是横屏状态进入后台
  24. BOOL didAdjusBtnType;//是否设置过悬浮图标靠边了
  25. ComontAlretViewController *logoutAlertVC;
  26. }
  27. @property (nonatomic, strong) AMediaStream *mediaStream;
  28. @property(nonatomic,strong)UIButton *controlBtn;
  29. @property(nonatomic,strong)webRtcPlayerBottomContrView *bottomContrView;//底部按钮 选项 home 返回
  30. @property (nonatomic,strong) webRtcMsgModel * webRtcMsgMod;
  31. @property(nonatomic,assign) BOOL isCodeSuspendAudioType;//手动暂停播放音乐
  32. @end
  33. NS_ASSUME_NONNULL_END