添加了接口控制文字消息和语音的展示

This commit is contained in:
18401019693 2024-01-15 17:04:36 +08:00
parent 29c2334ee0
commit 1f7c6c8adc

View File

@ -306,7 +306,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti
disable = true; disable = true;
// 设置禁用麦克风采集 // 设置禁用麦克风采集
RCRTCEngine.getInstance().getDefaultAudioStream().setMicrophoneDisable(disable); RCRTCEngine.getInstance().getDefaultAudioStream().setMicrophoneDisable(disable);
ImgLoader.display(mContext, R.mipmap.icon_game_close_wheat, gameCloseWheat); // ImgLoader.display(mContext, R.mipmap.icon_game_close_wheat, gameCloseWheat);
gameMicManager.unPublishStreams(); gameMicManager.unPublishStreams();
} else { } else {
if (sudGameUserListAdapter.isMicMax()) { if (sudGameUserListAdapter.isMicMax()) {