IVTKSYLiveShowViewController.h 1.62 KB
//
//  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