YOUPAILCBaseVideoCallVC.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //
  2. // YOUPAILCBaseVideoCallVC.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/9/17.
  6. // Copyright © 2018年 caicai. All rights reserved.
  7. //
  8. #import "ZCBaseVC.h"
  9. #import "LCWebSocketManager.h"
  10. #import "YOUPAILCVideoChatModel.h"
  11. #import <AgoraRtcKit/AgoraRtcEngineKit.h>
  12. #import "YOUPAILCVideoFinishVC.h"
  13. #import "YOUPAILCVideoChatMessageCell.h"
  14. #import "YOUPAIXLVideoShotTool.h"
  15. #import "YMMagicView.h"
  16. #import "YOUPAILZChatRoomGiftView.h"
  17. @interface YOUPAILCBaseVideoCallVC : ZCBaseVC<LCWebMagagerDelegate,AgoraRtcEngineDelegate,UITableViewDataSource,UITableViewDelegate,LCVideoChatMessageCellDelegate>
  18. @property(nonatomic,strong)YOUPAILCVideoChatModel* youpaipvideoModel;
  19. @property(nonatomic,strong)LCWebSocketManager* youpaipsocketManager;
  20. @property (nonatomic,strong) AVAudioPlayer *youpaipplayer; //播放提示音
  21. @property (strong, nonatomic)AgoraRtcEngineKit *youpaipagoraKit;
  22. @property (nonatomic,strong) AgoraRtcVideoCanvas *youpaiplocalCanvas; //本地视图
  23. @property (nonatomic,strong) AgoraRtcVideoCanvas *youpaipremoteCanvas;
  24. @property (strong, nonatomic) YMMagicView *youpaiplocalVideo;
  25. @property (strong, nonatomic) YMMagicView *youpaipremoteVideo;
  26. @property (strong, nonatomic) UIView *youpaipmsgCoverView;
  27. @property (strong, nonatomic) UIView *youpaipinterView;
  28. @property (nonatomic,strong) UILabel* youpaiptimeLabel;
  29. @property (nonatomic,strong)dispatch_source_t youpaiptimer;
  30. @property (nonatomic,strong) UITableView* youpaipchatTableView;
  31. @property (nonatomic,strong) NSMutableArray* youpaipchatArray;
  32. @property (nonatomic,strong) UIView* youpaiptextToolView;
  33. @property (nonatomic,strong) UITextField* youpaipsendTextF;
  34. @property (nonatomic, strong) NSMutableArray *youpaipsvgas; /// svga礼物数据
  35. //@property (strong, nonatomic) UIView *botmBtnView;
  36. //@property (strong, nonatomic) UIView *tHeaderView;
  37. //@property (strong, nonatomic) UIButton* voiceBtn;
  38. //@property (strong, nonatomic) UIButton* cameraBtn;
  39. //add by leo 剩余通话时长
  40. @property (strong,nonatomic)UILabel *youpaipcancallTimeLab;
  41. @property (nonatomic,strong)UILabel *youpaipbalanceL;// 余额
  42. @property (nonatomic,strong)UILabel *youpaipdiscountL; // 优惠
  43. @property (nonatomic,strong) UIView *youpaipformDiscountBgV; // 发起方
  44. @property (nonatomic,strong) UILabel *youpaipformDiscountL; // 发起方
  45. //
  46. //@property (nonatomic,strong)UIButton *rechargeBtn;
  47. ////仙女棒
  48. //@property(nonatomic,strong)UIButton *xianNvBangBtn;
  49. ////add by leo v1.0.8 守护按钮
  50. //@property(nonatomic,strong)UIButton *guardBtn;
  51. - (void)giftMsgForIm:(YOUPAILZLiveGIftModel *)chatRoomGiftModel; // 房间发送礼物消息
  52. - (void)videoingRecMessage:(NIMMessage *)message; //视频过程中 收到同房间的消息
  53. //子类实现
  54. - (void)videoStart:(NSDictionary*)dict;
  55. - (void)videoEnd:(NSInteger)type;
  56. - (void)youpaifsetupInterView;
  57. @end