Jitsi meet meeting room with incoming call

Good morning community

We are developing our apps using jitsi meet mobile clients (Android & iOS) but we are experimenting some issues related to incoming phone calls.

We don’t want to termine the current meeting when a new phone call is accepted, so instead of activating Callkit we want to mute audio and camera in the on going jitsi meeting and restore them after the user finishes the phone call.

It looks that deactivating Callkit behavior does the trick, but we have some issues if we answer the call when the app is in background:
If the phone call longs more than 50 seconds, the app finishes showing the following logs:

do leave xxxxxxx@conference.xxx.com/xxxxxxx

no background task exists with identifier 5751 (0x1677), or it may have already been ended. Break in

Can’t end BackgroundTask: no background task exists with identifier 6000 (0x1770), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:slight_smile: for your task in a timely manner to avoid this.

We wonder if someone in the community knows the reason (it looks to be related to Background Tasks) and if this kind of behavior is possible.


1 Like