Skip to content

Call Connection Delay When Accepting Calls in Various App States #809

Closed
@keshav-sf

Description

@keshav-sf

There is a noticeable delay when accepting a call in different app states (terminated, background, and foreground) in a Flutter application using the GetStream SDK.

Steps to Reproduce:

  1. App in Terminated State:

    • Terminate the app (force quit or let it be in the background for a long time).
    • Receive an incoming call notification.
    • Accept the call.
    • Notice the delay before the call is connected.
  2. App in Background State:

    • Send an incoming call while the app is running in the background.
    • Accept the call.
    • Notice the delay before the call is connected.
  3. App in Foreground State (via Notification):

    • When the app is in the foreground, receive an incoming call notification.
    • Instead of accepting directly from the notification, click on it to open the screen with call details (accept/decline options).
    • Accept the call.
    • There is a delay before the call connects.

Device Information:

  • Devices Tested:
    • iPhone 13, iPhone 15
  • iOS Versions:
    • iPhone 13: 18.0.1
    • iPhone 15: 17.6.1
  • Flutter Version: Flutter 3.24.3 (Stable)

Expected Behavior:
The call should connect immediately after being accepted, regardless of whether the app is in the background, terminated, or foreground state.

Actual Behavior:
There is a delay in connecting the call when the app is in terminated, background, or when accepting from the call screen in the foreground.

Additional Notes:

  • When accepting the call directly from the notification in the foreground, the delay is significantly less.
  • The issue seems to be more pronounced when the app is not in the foreground.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions