fix [英文版【连麦中,退出将断开语音连麦!】未翻译]

This commit is contained in:
zlzw 2024-04-02 18:16:32 +08:00
parent 5c10820e98
commit 9652bcaf9a

View File

@ -1037,7 +1037,11 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
if (RCRTCEngine.getInstance().getRoom() == null || RCRTCEngine.getInstance().getRoom().getLocalUser() == null) { if (RCRTCEngine.getInstance().getRoom() == null || RCRTCEngine.getInstance().getRoom().getLocalUser() == null) {
return; return;
} }
ToastUtil.show("下麥中,稍等....."); String _tmp="下麥中,稍等.....";
if(!WordUtil.isNewZh()){
_tmp="Disconnecting the live connection, please wait a moment.....";
}
ToastUtil.show(_tmp);
RCRTCEngine.getInstance().getRoom().getLocalUser().switchToAudience(new IRCRTCSwitchRoleCallback() { RCRTCEngine.getInstance().getRoom().getLocalUser().switchToAudience(new IRCRTCSwitchRoleCallback() {
/** /**