///设置播放器背景色,默认黑色
- (void)playerBackgroundColor:(UIColor *)playerBgColor;
//设置播放器背景图片
- (void)playerBackgroundImage:(UIImage *)playerBgImage;
//v6.4 新增(问卷昵称+问卷历史)
///获取问卷历史
+ (void)fetchSurveyList:(NSString *)webinarId success:(void(^)(VHSurveyListModel *))success fail:(void(^)(NSError *error))fail;
///回调问卷昵称和问卷地址
- (void)receivedSurveyWithURL:(NSURL *)surveyURL surveyName:(NSString *)surveyName;
//提交问卷成功 surveyid问卷id,accountid,提交人id
- (void)receivedSucceed:(NSString *)surveyid surveyAccountId:(NSString *)accountid;
/// 6.4 新增问答名称question_name
- (void)moviePlayer:(VHallMoviePlayer *)player isQuestion_status:(BOOL)isQuestion_status question_name:(NSString *)questionName;
互动房间VHRoomInfo新增questionName属性
/**
* 问答状态 YES:可用,NO:不可用
*/
- (void)questionStatus:(BOOL)questionStatus;[VHWebinarBaseInfo getWebinarBaseInfoWithWebinarId:DEMO_Setting.activityID success:^(VHWebinarBaseInfo * _Nonnull baseInfo) {
if (baseInfo.is_director == 1) {
//是云导播活动
[self cloudBrocastStatus:(baseInfo.webinar_show_type == 1)?YES:NO];
}else{
VH_ShowToast(@"当前直播不是云导播活动请退出");
}
} fail:^(NSError * _Nonnull error) {
VH_ShowToast(error.localizedDescription);
}];[VHWebinarBaseInfo getDirectorStatusWithWebinarId:DEMO_Setting.activityID success:^(BOOL director_status) {
if (director_status) {
//云导播台已开启(主持人+视频推流形式)
[self openCloudBrocast:SheetType_BrocastEnabled lanscape:landscape];
}else{
//只能以主持人身份发起直播
[self openCloudBrocast:SheetType_BrocastDisable lanscape:landscape];
}
} fail:^(NSError * _Nonnull error) {
VH_ShowToast(error.localizedDescription);
}];-(instancetype)initDirectorHostEnter:(NSDictionary *)param fail:(void(^)(NSError *))failure;///开始云导播
- (void)startDirectorLive;// 回显云导播台画面
@property (nonatomic,strong,readonly)UIView *liveView;- (void)stopDirectorLive;