Commit 62d043e539da5433dd9bfb24b6797bd5dd3a5210
1 parent
9e7e874d
no message
Showing
2 changed files
with
2 additions
and
3 deletions
CNLivePlayer/Classes/Player/CNLivePlayer.h
CNLivePlayer/Classes/Player/CNLivePlayer.m
| ... | ... | @@ -926,7 +926,7 @@ CVPixelBufferGetPixelFormatType 获取 YUV 的类型。 |
| 926 | 926 | |
| 927 | 927 | } error:^(NSInteger errors) { |
| 928 | 928 | if (anchorStatus) { |
| 929 | - anchorStatus(NO); | |
| 929 | + anchorStatus(CNLiveAnchorStatusError); | |
| 930 | 930 | } |
| 931 | 931 | }]; |
| 932 | 932 | |
| ... | ... | @@ -947,7 +947,7 @@ CVPixelBufferGetPixelFormatType 获取 YUV 的类型。 |
| 947 | 947 | //加入聊天室 |
| 948 | 948 | [[CNLiveMsgManager sharedCNLiveMsgManager] gatherIfNullCreate:_roomId messageCount:1 success:^(NSString *targetId) { |
| 949 | 949 | if (anchorStatus) { |
| 950 | - anchorStatus(YES); | |
| 950 | + anchorStatus(CNLiveAnchorStatusLiving); | |
| 951 | 951 | } |
| 952 | 952 | |
| 953 | 953 | } error:^(NSInteger errors, NSString *targetId) { | ... | ... |