WebRTC, UDP, and iOS 17

iOS 17 appears to be blocking our UDP packets for WebRTC app (native app, not safari based). The app is unable to either receive or transmit the UDP data. Works fine under IOS 16.x

I'm guessing it is some form of networking privacy entitlement but can't seem to find the relevant change in IOS 17.

FB12545393 has been filed. It even includes a project that recreates the bug.

For this fix, we went with .newlines instead of "/r" and that fixes the problem with min code change.

let arrayOfComponents = stringForiOSTesting.components(separatedBy: .newlines)

I started having difficulties with WebRTC connections in my iOS app after upgrading to iOS 17. The behavior isn't totally consistent, but it looks like there are network issues when connecting via a STUN server, but not via TURN. Via STUN, the connection is established and then usually drops after a few seconds. Is anyone else experiencing these issues?

This is the WebRTC package I'm using: https://github.com/stasel/WebRTC

I don’t think your issue is related to aearmstrong’s original issue. Their problem was caused by a now-fixed bug in Swift’s string support (FB12545393).

I recommend that you start a new thread for your issue.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

WebRTC, UDP, and iOS 17
 
 
Q