flutterdartmesibo

Mesibo Sdk flutter


enter image description hereenter image description hereHow can I remove screen share button on calls for mesibo flutter sdk? For now, we don't need that for our app

should I create native files or can do that using flutter recources? i have basic configurations like this (from sample app)

void initLoginMesibo(String token) async {
    mesibo
      ..setAccessToken(token)
      ..setListener(this)
      ..start();

    await mesiboUi.getUiDefaults().then((MesiboUIOptions options) {
      options
        ..enableBackButton = true
        ..toolbarColor = 0xff00868b;
      mesiboUi.setUiDefaults(options);
    });

    final MesiboUIButtons buttons = MesiboUIButtons();
    buttons.message = false;
    buttons.audioCall = true;
    buttons.videoCall = true;
    buttons.groupAudioCall = true;
    buttons.groupVideoCall = true;
    buttons.endToEndEncryptionInfo = true;
    mesiboUi.setupBasicCustomization(buttons, null);
  }

Solution

  • We have released 2.5.3 with options to configure the conferencing/group call UI. Please update and use the code below which is self-explanatory and similar to the code that you have used for one-to-one calls earlier.

    MesiboGroupCallUiProperties gcp = MesiboGroupCallUiProperties();
    
    // show or hide screen sharing 
    gcp.screenSharingButton = false;
    
    // customize participant joined and left notification message 
    gcp.joinMessage = "has graced us with their presence!";
    gcp.leftMessage = "had better things to do, bye bye";
    
    // show or hide participant controls 
    gcp.participantControls = true; 
    
    _mesiboUi.setGroupCallUiDefaults(gcp);
    

    Hope that helps. Note that, the X button is to end the participant call and not to end the entire group call. You can still press the red hangup button to end the call.