hide microphone button in video-only calls. fixes #3700
This commit is contained in:
parent
bd0234ba4d
commit
072edc5a62
|
@ -580,7 +580,11 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
|
||||||
);
|
);
|
||||||
this.binding.inCallActionFarRight.setVisibility(View.GONE);
|
this.binding.inCallActionFarRight.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
if (media.contains(Media.AUDIO)) {
|
||||||
updateInCallButtonConfigurationMicrophone(requireRtpConnection().isMicrophoneEnabled());
|
updateInCallButtonConfigurationMicrophone(requireRtpConnection().isMicrophoneEnabled());
|
||||||
|
} else {
|
||||||
|
this.binding.inCallActionLeft.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.binding.inCallActionLeft.setVisibility(View.GONE);
|
this.binding.inCallActionLeft.setVisibility(View.GONE);
|
||||||
this.binding.inCallActionRight.setVisibility(View.GONE);
|
this.binding.inCallActionRight.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue