iOS 14 Requesting Permission in Relayed Sessions iOS 14 Requesting Permission in Relayed Sessions

iOS 14 Requesting Permission in Relayed Sessions

Maria Scieranska

Symptom

When on iOS 14, you are prompted for permission when an application attempts to subscribe to clients on the same local network in a relayed session.

Applies To

  • iOS 14
  • Relayed Sessions

Resolution

If your application uses a relayed session, it is encouraged to add a descriptive custom usage string to inform the user why the application needs access to their local area network.

Cause

In iOS 14, Apple introduced local network privacy. The operating system prompts the user for permission when an application attempts to subscribe to clients on the same local network in a relayed session. Due to operating system limitations, it is also possible this alert is triggered if the remote video host has a similar IP address (for example, 192.168.x.x).

Additional Information

For more information, and options to force traffic through over the internet in order to avoid this message, read the developer documentation on iOS Known Issues.