-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] LiveKit Exception: [MediaConnectException] Timed out waiting for PeerConnection to connect, please check your network for ICE connectivity #519
Comments
This probably happens after the first call. You need to call room.disconnect() after a call closes or is cancelled. |
Calling |
I have called disconnect every time, but this problem still occurs. It seems to be a bug in 2.x. |
Please refer to this PR to fix the issue that disconnect does not wait for the room to be closed correctly. |
Bug seems fixed, but the called party does not receive ParticipantDisconnectedEvent event, when the caller leaves the room, after applying this patch. |
Just tested it seems to work, User A calls Please correct me if I didn't understand what you are describing correctly. |
Fixed in new version 9fad8c6 |
Describe the bug
I am running the application on two separate Android devices and executing the connect method:
The first device successfully connects, but the second one throws an error: "Timed out waiting for PeerConnection to connect, please check your network for ICE connectivity."
LiveKit logs show:
Platform information
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.0 23A344 darwin-x64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
[✓] VS Code (version 1.88.1)
[✓] Connected device (4 available)
[✓] Network resources
The text was updated successfully, but these errors were encountered: