jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
43 stars 32 forks source link

JitsiMeetEventListener() is not working when end room by clear all screen. #62

Open bunthoeun-develop opened 5 months ago

bunthoeun-develop commented 5 months ago

Actual behavior: When I end call by clear call screen, JitsiMeetEventListener() is not working. Expected behavior: When I end call by clear call screen, JitsiMeetEventListener() should working.

https://github.com/jitsi/jitsi-meet-flutter-sdk/assets/65479486/22f698d9-7ba4-474f-845f-b49ae345cec4

Screenshot 2024-05-09 at 4 26 16 in the afternoon
saghul commented 5 months ago

Not sure I understand. You are swiping out the JitsiMeetActivity, right? There is very little time to do anything wheen the activity is destrooyed. What do you exppect it to happen?

bunthoeun-develop commented 5 months ago

Want to detect when I leave conference room. if end by bottom(icon end on UI), then I can use readyToClose() event.

saghul commented 5 months ago

Want to detect when I leave conference room. if end by bottom(icon end on UI), then I can use readyToClose() event.

Yes, that is correct. But if you swipe the activity out there is no way for the meeting to tell you. You'll need to listen to activity lifecycle events.