Commit 0b9e891aff7a52a2029ef8a8a4d0aaeb4648a412

Authored by 王军波
1 parent c7fd4bdd

错误信息

LiveVideoCloud/LiveVideoCloud/Classes/Sections/LiveSections/Controller/LVCLiveViewController.m
... ... @@ -161,6 +161,8 @@
161 161 [_kitCN startStream:^{
162 162 NSLog(@"开启推流成功 ------- success");
163 163 } failure:^(NSDictionary *errorDic) {
  164 + NSString *str=[[NSMutableString alloc] initWithData:errorDic[@"errorMessage"] encoding:NSUTF8StringEncoding];
  165 + NSLog(@"%@",str);
164 166 [self toast:errorDic[@"errorMessage"]];
165 167 _startLiveBtn.selected = NO;
166 168 }];
... ... @@ -287,7 +289,7 @@
287 289  
288 290 [_kitCN appBecomeActive];
289 291 }
290   -// 拍摄状态改变
  292 +// 采集状态改变
291 293 - (void)captureStateChange {
292 294  
293 295 if ( _kitCN.captureState == CNLiveCaptureStateIdle){
... ...