Skip to content

Call stuck on "Preparing call" UI from the RingingCallContent #2057

@bohdan145

Description

@bohdan145

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

Describe the bug
Trying to make a call between two users. User 1 - Android / User 2 - iOS. When starting the call from User 1, the user can see the "Preparing call" ui from the RingingCallContent component. User 2 receives the call, and the correct UI is also shown. When User 2 accepts the call, UI updates, but User 1 is still on the "Preparing call" UI; it's not updated. This problem exists on any platform. The first user who creates a call is stuck on the "Preparing call" UI

To Reproduce
Steps to reproduce the behavior:

  1. Create a call between two users
  2. Accept the incoming call
  3. The user who created the call always sees the "Preparing call."
  4. The user who accepted the call sees the correct UI, calling, and active call UI
  5. Call is created using the getOrCreate method
 const call = client.call("default", uuidv4());
 await call.getOrCreate({
      ring: true,
      data: {
          members: [{ user_id: myStreamId }, { user_id: user.getstream_id }],
       },
});
  1. No custom UI is used, just default RingingCallContent
<StreamCall call={call}>
        <RingingCallContent onBackPress={call?.endCall} />
      </StreamCall>

Expected behavior
The user who started the call should also see UI updates depending on the call status change

Screenshots

Image

Version

  • "@stream-io/video-react-native-sdk": "^1.25.0"

Env:

React Native / Expo

  • React Native 0.81.5
  • Expo 54.0.29
  • New Architecture - enabled
  • Issue reproducible on both platforms ios/android (emulator, real device)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions