skip to Main Content

I want to customize the user interface of Jitsi Meet. I want to remove the "Invite others" option located at the center bottom. How can I do that in Android Studio using java?

enter image description here

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_event_details);

    try {
        JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
                .setServerURL(new URL(""))
                .setWelcomePageEnabled(false)
                .setConfigOverride("requireDisplayName", true)
                .setConfigOverride("reqiureInviteOthers", false)
                .build();
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }

public void onClickMeet(View v) {
    EditText editText = findViewById(R.id.meetId);
    String text = editText.getText().toString();

    if (text.length() > 0) {
        JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder().setRoom(text).build();
        JitsiMeetActivity.launch(this, options);
    }
}

2

Answers


  1. JitsiMeetConferenceOptions.Builder builder = new JitsiMeetConferenceOptions.Builder();
    builder.setFeatureFlag("invite.enabled", false);
    
    Login or Signup to reply.
  2. JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
                    .setServerURL(new URL(""))
                    .setWelcomePageEnabled(false)
                    .setConfigOverride("requireDisplayName", true)
                    .setConfigOverride("reqiureInviteOthers", false)
                    .setFeatureFlag("invite.enabled", false)// <-- add this line
                    .setFeatureFlag("add-people.enabled", false)// <-- add this line
                    .build();
    

    this is the list of available feature flags that you can turn on or off Jitsi Features

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search