Commit 0b9e891aff7a52a2029ef8a8a4d0aaeb4648a412
1 parent
c7fd4bdd
错误信息
Showing
1 changed file
with
3 additions
and
1 deletions
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){ | ... | ... |