1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //
- // 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 <AgoraRtcKit/AgoraRtcEngineKit.h>
- #import "YOUPAILCVideoFinishVC.h"
- #import "YOUPAILCVideoChatMessageCell.h"
- #import "YOUPAIXLVideoShotTool.h"
- #import "YMMagicView.h"
- #import "YOUPAILZChatRoomGiftView.h"
- @interface YOUPAILCBaseVideoCallVC : ZCBaseVC<LCWebMagagerDelegate,AgoraRtcEngineDelegate,UITableViewDataSource,UITableViewDelegate,LCVideoChatMessageCellDelegate>
- @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
|