private void refreshMuteVideoButton(){
  if ((null != mCall) && mCall.isVideo()) {
    mMuteLocalCameraView.setVisibility(View.VISIBLE);
    boolean isMuted=mCall.isVideoRecordingMuted();
    Log.d(LOG_TAG,"## refreshMuteVideoButton(): isMuted=" + isMuted);
    int iconId=isMuted ? R.drawable.ic_material_videocam_off_pink_red : R.drawable.ic_material_videocam_off_grey;
    mMuteLocalCameraView.setImageResource(iconId);
  }
 else {
    Log.d(LOG_TAG,"## refreshMuteVideoButton(): View.INVISIBLE");
    mMuteLocalCameraView.setVisibility(View.INVISIBLE);
  }
}

private void refreshMuteVideoButton ( ) { if ( ( null != mCall ) && mCall . isVideo ( ) ) { mMuteLocalCameraView . setVisibility ( View . VISIBLE ) ; boolean isMuted = mCall . isVideoRecordingMuted ( ) ; Log . d ( LOG_TAG , "## refreshMuteVideoButton(): isMuted=" + isMuted ) ; int iconId = isMuted ? R . drawable . ic_material_videocam_off_pink_red : R . drawable . ic_material_videocam_off_grey ; mMuteLocalCameraView . setImageResource ( iconId ) ; } else { Log . d ( LOG_TAG , "## refreshMuteVideoButton(): View.INVISIBLE" ) ; mMuteLocalCameraView . setVisibility ( View . INVISIBLE ) ; } }
update the mute video icon .
