Commit d74a2a4c3bd25e591a882c5bef233411d347b467

Authored by zhangxiaowen
1 parent 4220d393

git提交

CNLivePlayer/Classes/Player/CNLivePlayer.m
... ... @@ -176,6 +176,9 @@ NSString * const CNLiveAnchorStatusChangedNotification = @"CNLiveAnchorStatusCha
176 176  
177 177 }
178 178 - (void)setPlayerWithContentId:(NSString *)contentId type:(CNLivePlayerType)type authSuccess:(AuthSuccessBlock)authSuccessBlock authFailure:(AuthFailureBlock)authFailureBlock{
  179 + if([_contentId isEqualToString:contentId]){
  180 + return;
  181 + }
179 182 _retryTime = 0;
180 183 _type = type;
181 184 switch (type) {
... ...