引入QGVAPlayer,礼物增加VAP字段

This commit is contained in:
chenguilong
2022-03-18 10:30:38 +08:00
committed by fengshuo
parent f8c624cdd7
commit d015304b5f
8 changed files with 436 additions and 1 deletions

View File

@@ -23,6 +23,12 @@ typedef NS_ENUM(NSUInteger, GiftSourceType) {
GiftSourceType_Pack = 2, // 背包礼物
};
///礼物播放类型0 无, 1 MP4、VAP播放)
typedef NS_ENUM(NSUInteger, GiftOtherViewType) {
GiftOtherViewTypeNormal = 0,
GiftOtherViewTypeMp4 = 1,
};
/**
赠送类型 1给主播直接刷礼物2私聊送个人礼物,3房间内给坑位上的人送礼物,5.公聊大厅给人送礼物
@@ -79,6 +85,10 @@ typedef NS_ENUM(NSUInteger, RoomSendGiftType) {
@property (assign, nonatomic) BOOL roomExclude;
///是否支持发广播
@property (nonatomic,assign) BOOL isSendMsg;
///礼物文件类型 0 其他, 1 mp4
@property (nonatomic, assign) GiftOtherViewType otherViewType;
///mp4类型特效url
@property (nonatomic, copy) NSString *viewUrl;
/**------------- 礼物背包 ----------------**/
///个数

View File

@@ -64,6 +64,8 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,strong)NSString *giftName;
///动效url
@property (copy,nonatomic) NSString *vggUrl;
///vap动效url
@property (nonatomic, copy) NSString *viewUrl;
///非全麦 多人送礼时
@property (nonatomic,strong) NSArray<GiftReceiveUserInfoModel *> *targetUsers;
///福袋礼物需要展示的vg动画