private void updateRecordTip() { if (CallStateEnum.isAudioMode(callingState)) { avChatAudio.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning); } if (CallStateEnum.isVideoMode(callingState)) { avChatVideo.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning); } }
public void resetRecordTip() { uiHandler.removeCallbacks(runnable); recordWarning = false; if (CallStateEnum.isAudioMode(callingState)) { avChatAudio.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning); } if (CallStateEnum.isVideoMode(callingState)) { avChatVideo.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning); } }