jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
278 stars 240 forks source link

About Flutter SDK “configOverrides.toolbarButtons” #228

Open MoLeft opened 6 months ago

MoLeft commented 6 months ago

When I'm using Flutter's SDK, use the "configOverrides.toolbarButtons", it didn't work on android app. this is my code:

var options = JitsiMeetConferenceOptions(
      serverURL: 'https://meet.sunnypro.cc',
      room: roomId,
      token: jwtToken,
      configOverrides: {
        "startWithAudioMuted": false,
        "startWithVideoMuted": false,
        "desktopSharingFrameRate": {
          "min": 60,
          "max": 144
        },
        "toolbarButtons": ["chat"],  // it didn't work
      },
      featureFlags: {
        FeatureFlags.unsafeRoomWarningEnabled : false,
        FeatureFlags.iosScreenSharingEnabled: true,
        FeatureFlags.androidScreenSharingEnabled: true,
      },
    );

I've tried using "{...}" or "[...]", it won't work, and when i use the "{...}" exaple for "{'chat', 'microphone'}", When joining a meeting with join(), nothing happens

saghul commented 6 months ago

That config option is not implemented for mobile, it's just for web.

MoLeft commented 6 months ago

That config option is not implemented for mobile, it's just for web.

If I want to set the toolbar button on Android or iOS, what should I do?

saghul commented 6 months ago

You can't do that right now.