// // webRtcPlayerViewController.h // 双子星云手机 // // Created by xd h on 2024/9/2. // #import "BaseViewController.h" #import #import #import "UIView+HWCategory.h" #import "webRtcMsgModel.h" #import "webRtcPlayerBottomContrView.h" #import "RcGameWQKeyChain.h" #import "ComontAlretViewController.h" #import "UIInterface+HXRotation.h" #import "errorAlertTool.h" NS_ASSUME_NONNULL_BEGIN @interface webRtcPlayerViewController : BaseViewController { CGRect startFrame;//悬浮标拖拽用 CGFloat lastVideoWHRate;//上传的流宽高比 BOOL isLanAndPrivacyEnterBackground;//是否是横屏状态进入后台 BOOL didAdjusBtnType;//是否设置过悬浮图标靠边了 ComontAlretViewController *logoutAlertVC; } @property(nonatomic,assign) BOOL isLan;//是否是横屏状态 @property (nonatomic, strong) AMediaStream *mediaStream; @property(nonatomic,strong)UIButton *controlBtn; @property(nonatomic,strong)webRtcPlayerBottomContrView *bottomContrView;//底部按钮 选项 home 返回 @property (nonatomic,strong) webRtcMsgModel * webRtcMsgMod; @property(nonatomic,assign) BOOL isCodeSuspendAudioType;//手动暂停播放音乐 @property(nonatomic,copy) NSString* webRtcPlayerSessionId;//进入推流的时间 #pragma mark 重连 - (void)relinkWebRtcFunByBecomeActive; #pragma mark 退出云机 - (void)exitCloudPhoneFun; @end NS_ASSUME_NONNULL_END