|  | @@ -181,6 +181,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |      private boolean connectStatusIsPaused = false;
 | 
	
		
			
				|  |  |      private boolean isNeedRefresh = false;//是否需要重新刷新房间信息
 | 
	
		
			
				|  |  |      private boolean liveIsFinish = false;//直播间是否已结束
 | 
	
		
			
				|  |  | +    private boolean liveIsPause = false;//直播间是否已暂停
 | 
	
		
			
				|  |  |      private ServiceConnection serviceConnection;
 | 
	
		
			
				|  |  |      private ObjectAnimator hideHeaderInfoAnim;
 | 
	
		
			
				|  |  |      private ObjectAnimator showHeaderInfoAnim;
 | 
	
	
		
			
				|  | @@ -232,7 +233,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |                  //其他状态的时候需要重新刷新房间信息
 | 
	
		
			
				|  |  |                  isNeedRefresh = true;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            if(status == ConnectionStatus.NETWORK_UNAVAILABLE){
 | 
	
		
			
				|  |  | +            if (status == ConnectionStatus.NETWORK_UNAVAILABLE) {
 | 
	
		
			
				|  |  |                  //网络不可用
 | 
	
		
			
				|  |  |                  ToastUtil.getInstance().showShort("您的网络已断开,请检查网络~");
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -473,6 +474,11 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if (id == R.id.view_shop_car_anim) {
 | 
	
		
			
				|  |  | +            if (liveIsFinish) {
 | 
	
		
			
				|  |  | +                //直播已结束,不可点击购物车
 | 
	
		
			
				|  |  | +                ToastUtil.getInstance().show(LiveRoomActivity.this, "直播已结束");
 | 
	
		
			
				|  |  | +                return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              if (viewBinding.llShopCarMenu.getVisibility() != View.VISIBLE) {
 | 
	
		
			
				|  |  |                  viewBinding.llShopCarMenu.setVisibility(View.VISIBLE);
 | 
	
		
			
				|  |  |              } else {
 | 
	
	
		
			
				|  | @@ -1325,16 +1331,8 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          Log.i("pq", "receive mic mode control msg 禁麦模式:" + isEnableMic);
 | 
	
		
			
				|  |  |          this.isEnableMic = isEnableMic;
 | 
	
		
			
				|  |  | -        if (isEnableMic) {
 | 
	
		
			
				|  |  | +        if (isEnableMic && isOnApplyMic()) {
 | 
	
		
			
				|  |  |              handleCloseMicEvent();
 | 
	
		
			
				|  |  | -            if (mLlMicContainer != null) {
 | 
	
		
			
				|  |  | -                mLlMicContainer.post(new Runnable() {
 | 
	
		
			
				|  |  | -                    @Override
 | 
	
		
			
				|  |  | -                    public void run() {
 | 
	
		
			
				|  |  | -                        mLlMicContainer.delAll();
 | 
	
		
			
				|  |  | -                    }
 | 
	
		
			
				|  |  | -                });
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1495,6 +1493,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |          if (isFinishing() || isDestroyed()) {
 | 
	
		
			
				|  |  |              return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        this.liveIsPause = true;
 | 
	
		
			
				|  |  |          ToastUtil.getInstance().show(this, getString(R.string.live_is_pause_str));
 | 
	
		
			
				|  |  |          handleCloseMicEvent();
 | 
	
		
			
				|  |  |          if (mMicManagerDialog != null) {
 | 
	
	
		
			
				|  | @@ -1650,6 +1649,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |          mFlLiveView.post(new Runnable() {
 | 
	
		
			
				|  |  |              @Override
 | 
	
		
			
				|  |  |              public void run() {
 | 
	
		
			
				|  |  | +                LiveRoomActivity.this.liveIsPause = false;
 | 
	
		
			
				|  |  |                  ArrayList<RCRTCVideoStream> videoStreams = new ArrayList<RCRTCVideoStream>();
 | 
	
		
			
				|  |  |                  videoStreams.addAll(outputStreams);
 | 
	
		
			
				|  |  |                  videoStreams.addAll(inputStreams);
 | 
	
	
		
			
				|  | @@ -1922,6 +1922,10 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
 | 
	
		
			
				|  |  |       * 检查mic模式
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      public boolean checkMicMode() {
 | 
	
		
			
				|  |  | +        if (liveIsPause) {
 | 
	
		
			
				|  |  | +            ToastUtil.getInstance().show(LiveRoomActivity.this, "直播已暂停");
 | 
	
		
			
				|  |  | +            return true;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          if (liveIsFinish) {
 | 
	
		
			
				|  |  |              ToastUtil.getInstance().show(LiveRoomActivity.this, "直播已结束");
 | 
	
		
			
				|  |  |              return true;
 |