Skip to content

Commit

Permalink
Upgrade SDK and fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ianyanzhang committed Jun 24, 2022
1 parent a56b690 commit e89c65c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def common_pods_all
pod 'AFNetworking'
pod 'BlocksKit', '~> 2.2.5'
pod 'CWStatusBarNotification', '~> 2.3.5'
pod 'TXLiteAVSDK_Player'
pod 'TXLiteAVSDK_Player', '~> 10.2.11418'
end

def common_pods_smart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@ - (void)getNextInfoIsCache:(BOOL)isCache {
psign:p.sign
completion:^(TXMoviePlayInfoResponse *resp, NSError *error) {
if (error) {
dispatch_async(dispatch_get_main_queue(), ^{
[wself hudMessage:LivePlayerLocalize(@"SuperPlayerDemo.MoviePlayer.fileidrequesterror")];
});
} else {
resp.isCache = isCache;
[resultArray addObject:resp];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1936,6 +1936,7 @@ - (void)onPlayEvent:(TXVodPlayer *)player event:(int)EvtID withParam:(NSDictiona
self.state = StatePlaying;
[self.controlView setPlayState:YES];
self.centerPlayBtn.hidden = YES;
self.playDidEnd = NO;
self.controlView.hidden = SuperPlayerWindowShared.isShowing ? YES : NO;

// 不使用vodPlayer.autoPlay的原因是暂停的时候会黑屏,影响体验
Expand Down

0 comments on commit e89c65c

Please sign in to comment.