element-hq / element-hq/element-android

Call connecting issues, how to debug?

Open
#8,061 0 comments 0 reactions 0 assignees View on GitHub
A-Call A-VideoCall A-VoIP O-Occasional S-Major T-Defect Team: VoIP X-Cannot-Reproduce
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Start video call to another element android client
2. Element says, 'Call connecting'.
3. Reboot phone
4. Video call successfully connects

### Outcome

#### What did you expect?
Call should connect the first time
#### What happened instead?
Call doesnt connect.

Just for some more background. The caller and callee are connected via VPN, and have a direct path for webrtc connection. As seen on the router a UDP connection is indeed established between the two clients. However, still the call does not connect.

On the selfhosted homeserver, a TURN server and https://test.voip.librepush.net/ shows that it functional. As the clients have a direct path between them TURN server shouldnt be needed.

Call between Element web and android shows that direct ip in 'about:webrtc'.

Is there any way to find debug webrtc messages using 'adb logcat'?

### Your phone model

Samsung Note 9

### Operating system version

Android 10

### Application version and app store

Element 1.5.20

### Homeserver

Synapse 1.75

### Will you send logs?

Yes

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.