// // YOUPAILCBaseVideoCallVC.h // LiveChat // // Created by 张灿 on 2018/9/17. // Copyright © 2018年 caicai. All rights reserved. // #import "ZCBaseVC.h" #import "LCWebSocketManager.h" #import "YOUPAILCVideoChatModel.h" #import #import "YOUPAILCVideoFinishVC.h" #import "YOUPAILCVideoChatMessageCell.h" #import "YOUPAIXLVideoShotTool.h" #import "YMMagicView.h" #import "YOUPAILZChatRoomGiftView.h" @interface YOUPAILCBaseVideoCallVC : ZCBaseVC @property(nonatomic,strong)YOUPAILCVideoChatModel* youpaipvideoModel; @property(nonatomic,strong)LCWebSocketManager* youpaipsocketManager; @property (nonatomic,strong) AVAudioPlayer *youpaipplayer; //播放提示音 @property (strong, nonatomic)AgoraRtcEngineKit *youpaipagoraKit; @property (nonatomic,strong) AgoraRtcVideoCanvas *youpaiplocalCanvas; //本地视图 @property (nonatomic,strong) AgoraRtcVideoCanvas *youpaipremoteCanvas; @property (strong, nonatomic) YMMagicView *youpaiplocalVideo; @property (strong, nonatomic) YMMagicView *youpaipremoteVideo; @property (strong, nonatomic) UIView *youpaipmsgCoverView; @property (strong, nonatomic) UIView *youpaipinterView; @property (nonatomic,strong) UILabel* youpaiptimeLabel; @property (nonatomic,strong)dispatch_source_t youpaiptimer; @property (nonatomic,strong) UITableView* youpaipchatTableView; @property (nonatomic,strong) NSMutableArray* youpaipchatArray; @property (nonatomic,strong) UIView* youpaiptextToolView; @property (nonatomic,strong) UITextField* youpaipsendTextF; @property (nonatomic, strong) NSMutableArray *youpaipsvgas; /// svga礼物数据 //@property (strong, nonatomic) UIView *botmBtnView; //@property (strong, nonatomic) UIView *tHeaderView; //@property (strong, nonatomic) UIButton* voiceBtn; //@property (strong, nonatomic) UIButton* cameraBtn; //add by leo 剩余通话时长 @property (strong,nonatomic)UILabel *youpaipcancallTimeLab; @property (nonatomic,strong)UILabel *youpaipbalanceL;// 余额 @property (nonatomic,strong)UILabel *youpaipdiscountL; // 优惠 @property (nonatomic,strong) UIView *youpaipformDiscountBgV; // 发起方 @property (nonatomic,strong) UILabel *youpaipformDiscountL; // 发起方 // //@property (nonatomic,strong)UIButton *rechargeBtn; ////仙女棒 //@property(nonatomic,strong)UIButton *xianNvBangBtn; ////add by leo v1.0.8 守护按钮 //@property(nonatomic,strong)UIButton *guardBtn; - (void)giftMsgForIm:(YOUPAILZLiveGIftModel *)chatRoomGiftModel; // 房间发送礼物消息 - (void)videoingRecMessage:(NIMMessage *)message; //视频过程中 收到同房间的消息 //子类实现 - (void)videoStart:(NSDictionary*)dict; - (void)videoEnd:(NSInteger)type; - (void)youpaifsetupInterView; @end