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.
Articles in this section
- OpenTok iOS SDK crash: -[OTSubscriber renderer:didReceiveFrame:]_block_invoke
- Updating iOS SDK to latest version
- Managing Audio Sessions in iOS with Vonage Video API
- What are the supported Video Dimensions, Aspect Ratios, and Rendering on Mobile SDKs?
- Handling Reconnection and Network Migration on Mobile Devices
- Where can I see the sample code for Vonage Video iOS SDK?
- What devices does Vonage Video iOS SDK support?
- iOS 14 Requesting Permission in Relayed Sessions
- Streaming Video has Letterbox Effect