element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

No voice , when VPN connection is turned on #3485

Open m-shirokov opened 4 years ago

m-shirokov commented 4 years ago

Hi, there is a problem with voice call , when VPN application (we use Cisco Anyconnect, but the client product doesn't matter here) is turned on

We've done some research about this problem.

When both users are in WAN mobile connection - everything is fine , both can hear each other Here is some traffik logging: 1306 36.182676108 192.168.1.155 1.1.1.1 STUN 174 Send Indication XOR-PEER-ADDRESS: 2.2.2.2:41552 So , XOR-PEER-ADDRESS: 2.2.2.2:41552 is the WAN address of the client's mobile provider

When one of two callers turns on the VPN app , the behavior changes: XOR-PEER-ADDRESS: 192.168.0.101:55352 XOR-PEER-ADDRESS changes to the address , that have been assigned to VPN adapter and voice is no longer heard durng the call

Maybe , it is possible to add a setting so you can choose an interface for XOR-PEER-ADDRESS ?

Thank you!