// // JuPhoonCallViewController.h // watch // // Created by Apple on 2019/4/29. // Copyright © 2019年 xTT. All rights reserved. // #import #import #import "User.h" #import "Device.h" //默认 限制时间前的提示 的倒数时间 30 #define DefineVideoLimitBeforeShowTime 30 NS_ASSUME_NONNULL_BEGIN @class JCMediaDeviceVideoCanvas; /** 视频通话页面 */ @interface JuPhoonCallViewController : UIViewController /** 视频的设备对象 */ @property(nonatomic, strong) Device * device; /** 此次视频通话的id */ @property(nonatomic, strong) NSString * video_id; /** uid */ @property(nonatomic, assign) NSInteger uid; /** device_uid */ @property(nonatomic, assign) NSInteger device_uid; /** 视频分辨率(宽) */ @property (assign, nonatomic) int distinguishability_width; /** 视频分辨率(高) */ @property (assign, nonatomic) int distinguishability_heiger; /** 是否是对方拨打 默认是 NO */ @property (assign, nonatomic) BOOL isReceiveCall; /** 通话时长 */ @property (nonatomic) int callDuration; /** 拨打状态Label */ @property (weak, nonatomic) IBOutlet UILabel *statusLabel; @property(nonatomic, strong) JCMediaDeviceVideoCanvas* localCanvas; @property(nonatomic, strong) JCMediaDeviceVideoCanvas* remoteCanvas; /** 停止响铃 */ - (void)stopRing; /** 开启自己本地画面 @param isFull 是否全屏 */ -(void)openLocationCarmeraViewWithFullSScreen:(BOOL)isFull; /// 去除画层 -(void)removeCanvas; @end NS_ASSUME_NONNULL_END