IVTKSYPushLiveShowViewController.h
1.23 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
//
// IVTKSYPushLiveShowViewController.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;
typedef void(^StopLiveSuccessBlock)(BOOL isSuccess);
@interface IVTKSYPushLiveShowViewController : UIViewController
/**
@abstract rtmp主机地址
@discussion 将音视频流推向该主机
eg: rtmp://xxx.xxx.xxx.xxx/appname/streamKey
*/
@property (nonatomic, strong) NSURL* hostURL;
@property (nonatomic, strong) NSNumber * shareType;
/**
@abstract 开启画中画时拉流地址
@discussion 将音视频流拉到本主机
*/
@property (nonatomic, strong) NSURL * liveShowURL;
@property (nonatomic, strong) XMPPJID *roomJID;
@property (nonatomic, strong) NSString *liveIDES;
/**
* 直播内collectionView
*/
@property (nonatomic, strong) UICollectionView *collectionView;
- (void)closeForIsShowEndView:(BOOL)isShowEndView success:(StopLiveSuccessBlock)stopSuccessBlock;
@end