webRtcPlayerViewController.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. NS_ASSUME_NONNULL_BEGIN
  16. @interface webRtcPlayerViewController : BaseViewController
  17. {
  18. CGRect startFrame;//悬浮标拖拽用
  19. CGFloat lastVideoWHRate;//上传的流宽高比
  20. BOOL isLan;//是否是横屏状态
  21. BOOL didAdjusBtnType;//是否设置过悬浮图标靠边了
  22. ComontAlretViewController *logoutAlertVC;
  23. }
  24. @property (nonatomic, strong) AMediaStream *mediaStream;
  25. @property(nonatomic,strong)UIButton *controlBtn;
  26. @property(nonatomic,strong)webRtcPlayerBottomContrView *bottomContrView;//底部按钮 选项 home 返回
  27. @property (nonatomic,strong) webRtcMsgModel * webRtcMsgMod;
  28. @property(nonatomic,assign) BOOL isCodeSuspendAudioType;//手动暂停播放音乐
  29. @end
  30. NS_ASSUME_NONNULL_END