saibotma / jitsi_meet_wrapper

Jitsi Meet Plugin for Flutter. Wrapping JitsiMeetSDK for Android and iOS.
BSD 3-Clause "New" or "Revised" License
26 stars 61 forks source link

onConferenceTerminated not getting triggered on iOS #61

Open Gaurav-CareMonitor opened 1 year ago

Gaurav-CareMonitor commented 1 year ago

onClosed gets triggered but onConferenceTerminated does not when disconnecting the call

saibotma commented 1 year ago

I can not reproduce this issue. Please add some steps on how to reproduce.

efraespada commented 1 year ago

@saibotma Same problem here.

I am just joining a meet and when pressing the hang-up button, the trigger doesn't fire.

Gaurav-CareMonitor commented 1 year ago

@efraespada Can you add the sample code please.

efraespada commented 1 year ago

@Gaurav-CareMonitor @saibotma

 await JitsiMeetWrapper.joinMeeting(
      options: JitsiMeetingOptions(
        roomNameOrUrl: url,
        subject: subject,
        token: token,
        isAudioOnly: !video,
        isAudioMuted: false,
        isVideoMuted: false,
        featureFlags: {
          FeatureFlag.isCallIntegrationEnabled: false,
          FeatureFlag.isInviteEnabled: false,
          FeatureFlag.isChatEnabled: false,
          FeatureFlag.isWelcomePageEnabled: false,
          FeatureFlag.isCalendarEnabled: false,
          FeatureFlag.areSecurityOptionsEnabled: false,
        },
      ),
      listener: JitsiMeetingListener(
        onConferenceWillJoin: (url) => print('onConferenceWillJoin: url: $url'),
        onConferenceJoined: (url) async {
          print('onConferenceJoined: url: $url');
        },
        onConferenceTerminated: (url, error) async {
          print('onConferenceTerminated: url: $url, error: $error'); // never called
        },
      ),
    );
saibotma commented 1 year ago

Can reproduce the issue. Happens on both iOS and Android. There exists an issue in the official SDK: https://github.com/jitsi/jitsi-meet/issues/11379