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

WebRTC Connectivity Issue with Safari on iPhone (Works on Desktop Chrome) #63

Open
samueleastdev opened this issue Jan 4, 2024 · 2 comments
Assignees
Labels
question Further information is requested support Support request

Comments

@samueleastdev
Copy link

Hi,

I'm encountering a peculiar issue with WebRTC connectivity that seems to affect only my iPhone, while everything works as expected on my desktop. This issue persists even after experimenting with different TURN servers, including coturn.

Environment:

Desktop: Chrome on macOS
Mobile: Safari on iPhone (over 4G)
Tested Using: icetest.info

Desktop Results:

IceGatheringState: complete
host
udp
a1626ede-309e-495b-93db-9d72288135d6.local:64604
N/A
srflx
udp
92.46.196.3:45029
0.0.0.0:0
relay
udp
13.42.158.156:49252
92.46.196.3:45029

This output is as expected, and my IP (92.46.196.3) is correctly identified.

iPhone Results:

IceGatheringState: complete
host
udp
f68cadc1-c557-4ec6-9710-2451e4e3314c.local:50411
N/A
host
tcp
e85de7c0-430f-44b2-8cba-5fbc225ad8fe.local:9
N/A
IceGatheringState: complete

On my iPhone, the test never retrieves my public IP, which I suspect is causing the failure in establishing a WebRTC video call from iPhone to Desktop.

Similar Issue
This seems related to a previously reported issue with coturn.

I'm looking for any insights or specific settings required to resolve this issue, particularly for Safari on iPhone. Any help or direction would be greatly appreciated.

Steps I've Taken
Installed eturnal on Ubuntu (AWS).
Opened necessary ports.
Updated the YAML config file with the required ports and credentials.
Verified functionality on desktop Chrome using https://icetest.info/.
Attempted the same test on iPhone via Safari, which failed to return the IP (similar to the issue with coturn).

Thank you for any assistance you can provide!

@oming
Copy link

oming commented Aug 7, 2024

This issue may be related to Apple iCloud's private relay.
When private relay was enabled, Safari's turn server was not working.
For Chrome, it seems to be working normally as it is not affected by private relays.

@weiss
Copy link
Member

weiss commented Oct 23, 2024

You could enable debug logging (eturnalctl loglevel debug) before reproducing the issue and show us the results (note that the log output may include potentially sensible data such as IP addresses and TURN user names, though).

@weiss weiss self-assigned this Oct 23, 2024
@weiss weiss added question Further information is requested support Support request labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested support Support request
Projects
None yet
Development

No branches or pull requests

3 participants