Skip to content
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

Android: Direct connection not possible when connected via smartphone's hotspot #488

Open
lgrahl opened this issue Apr 7, 2018 · 1 comment
Labels
app-update Requires an app update optimization Optimises existing functionality os-android Concerns the Android app webrtc WebRTC related

Comments

@lgrahl
Copy link
Contributor

lgrahl commented Apr 7, 2018

Expected Behavior

When the smartphone is being used as a hotspot (Bluetooth or WiFi) and the notebook is connected to the internet via that hotspot, a direct connection should be established (well, at least if the browser uses WebRTC mode <= 2).

Current Behavior

The connection is established via a relay (smartphone)/prflx (notebook) candidate pair.

Possible Solution

Looking at about:webrtc reveals that no UDP host candidates are being gathered (only TCP active) for the hotspot interface. I don't know why that is the case at the moment... It may be a limitation of the interface or a limitation/bug of/in Google's WebRTC library.

Steps to Reproduce (for bugs)

  1. Start a hotspot (Bluetooth or WiFi) on your smartphone.
  2. Connect to the hotspot with your notebook.
  3. Open Threema Web on the notebook.
  4. Check the selected candidate pair in about:webrtc.

Your Environment

  • Threema Web version: 1.8.2
  • Threema for Android version: 3.41
  • Threema for Android source: Pirate Bay (obviously)
  • Browser name and version: Firefox 59.0.2
@rugk

This comment has been minimized.

@dbrgn dbrgn added optimization Optimises existing functionality webrtc WebRTC related labels Apr 8, 2018
@lgrahl lgrahl added the app-update Requires an app update label Sep 24, 2018
@lgrahl lgrahl added the os-android Concerns the Android app label May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-update Requires an app update optimization Optimises existing functionality os-android Concerns the Android app webrtc WebRTC related
Development

No branches or pull requests

3 participants