修改問題
This commit is contained in:
parent
567e403151
commit
d77721a0bc
@ -247,6 +247,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
// 满足此种条件,表明需要加载直播视频,以及聊天室了
|
||||
if (viewGroup.getId() == mCurrentItem && (position == 0) && mCurrentItem != mLastPosition) {
|
||||
loadData(viewGroup, mCurrentItem);
|
||||
manager.onPause();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -376,8 +376,9 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
||||
// mVideoView.start();
|
||||
}
|
||||
mPaused = false;
|
||||
if (mPlayer.isPlaying()==0){
|
||||
if (mPlayer.isPlaying() == 1) {
|
||||
mPlayer.resumeVideo();
|
||||
mPlayer.resumeAudio();
|
||||
}
|
||||
}
|
||||
|
||||
@ -388,6 +389,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
||||
// }
|
||||
// mPaused = true;
|
||||
mPlayer.pauseVideo();
|
||||
mPlayer.pauseAudio();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user