Exemple #1
0
  private void updateRecordTip() {

    if (CallStateEnum.isAudioMode(callingState)) {
      avChatAudio.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning);
    }
    if (CallStateEnum.isVideoMode(callingState)) {
      avChatVideo.showRecordView(AVChatManager.getInstance().isRecording(), recordWarning);
    }
  }
Exemple #2
0
 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);
   }
 }