Skip to content

Call ends with rtc timeout after network change or instability (Wi-Fi ↔ Mobile Data) #561

@viniciusoliverrs

Description

@viniciusoliverrs

When an ongoing call experiences a network change — for example, switching from Wi-Fi to mobile data — or when there’s any network instability, the call continues for a few seconds and then ends automatically.

The call status returns ended with the cause rtp timeout.
It seems related to ICE connection loss or renegotiation failure after the network switch.
The library exposes a renegotiate() method, but there’s no documentation or example showing how to use it properly to recover the call in this case.

To Reproduce
Steps to reproduce the behavior:

Start a call while connected to Wi-Fi.

Switch to mobile data (or simulate temporary network loss).

Wait a few seconds.

The call ends with status ended and cause rtp timeout.

Expected behavior
The call should automatically recover or renegotiate the RTC connection after a network change, instead of ending.

System Information()
Flutter SDK Version: 3.35.3 (channel stable)
Target OS and Version: [Android / iOS]
Library Version: 1.0.1
Dart Version: 3.9.2
DevTools Version: 2.48.0

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