From fe827482c97777790f3f34231d1d6a7c4aaad9de Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Wed, 17 Jul 2024 09:47:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=88=BF=E4=B8=8A=E9=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/activity/SudSwGameActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/SudSwGameActivity.java b/live/src/main/java/com/yunbao/live/activity/SudSwGameActivity.java index fd8c742e3..aa244ac55 100644 --- a/live/src/main/java/com/yunbao/live/activity/SudSwGameActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/SudSwGameActivity.java @@ -714,9 +714,10 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M if (sudGameUserListAdapter.isMicMax()) { ToastUtil.show(WordUtil.isNewZh() ? "上麥人數最大7人" : "The maximum number of people on the microphone is 7"); } else { - gameMicManager.publishDefaultAVStream(); + disable = false; + SWAuManager.get().setMicAn(true); + onPublishSuccess(); } - } else { mProcessResultUtil.requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO}, new Runnable() { @Override