IVTKSYLiveShowViewController.h
1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
//
// IVTKSYLiveShowViewController.h
// IVTMeLiveTwo
//
// Created by xrg on 16/8/18.
// Copyright © 2016年 QLQ. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <GPUImage/GPUImage.h>
#import <libksygpulive/libksygpulive.h>
#import <libksygpulive/libksygpuimage.h>
#import "PresentView.h"
#import "GiftModel.h"
#import "AnimOperation.h"
#import "AnimOperationManager.h"
#import "GSPChatMessage.h"
@class KSYGPUStreamerKit;
@class XMPPJID;
@protocol attentionClickDelegate <NSObject>
-(void)attentionClick:(id)sender;
@end
@interface IVTKSYLiveShowViewController : UIViewController
/**
@abstract rtmp主机地址
@discussion 将音视频流推向该主机
eg: rtmp://xxx.xxx.xxx.xxx/appname/streamKey
*/
@property (nonatomic, strong) NSURL * liveShowURL;
/**
* XMPP聊天室地址
*/
@property (nonatomic, strong) XMPPJID * roomJID;
/**
* 直播间ID
*/
@property (nonatomic, strong) NSString * liveId;
/**
* 主播iD
*/
@property (nonatomic, strong) NSString * userIDTolive;
/**
* 主播头像网址
*/
@property (nonatomic, strong) NSString * zhuBoAvatarUrl;
/**
* 在线人数
*/
@property (nonatomic) NSInteger personNumber;
@property (nonatomic, assign)BOOL isKSY;
@property(nonatomic,weak)id<attentionClickDelegate>delegate;
/**
* 直播内collectionView
*/
@property (nonatomic, strong) UICollectionView *collectionView;
// 数据源数组
@property (nonatomic, strong) NSMutableArray * usersInfoArray;
/*
// 金山云相关参数
*/
// 金山云提供的底层播放视图
@property (nonatomic, strong) UIView *videoView;
@property (strong, nonatomic) KSYMoviePlayerController *player;
@end