瀏覽代碼

版本升级维护

yyqxiaoyin 5 年之前
父節點
當前提交
ebd288ae40
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

+ 1 - 0
MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

@@ -356,6 +356,7 @@ NSURL * MKRUrlWithString(NSString *string){
     [_player seekToTime:CMTimeMakeWithSeconds(currentTime, NSEC_PER_SEC) completionHandler:^(BOOL finished) {
         dispatch_async(dispatch_get_main_queue(), ^{
             self->_isSeeking = NO;
+            self.state = MKRAVPlayerStatePlaying;
             [self.player play];
         });
     }];