mirror of
https://github.com/livekit/livekit.git
synced 2026-11-12 20:49:07 +00:00
* rtc: disable transceiver reuse for all WebKit clients, incl. iOS #4474 turned off transceiver reuse on Safari because of an insertable streams issue that can corrupt E2EE tracks. The check matched only a browser name of exactly "Safari". The server's user agent parser reports iPhone Safari as "Mobile Safari", WKWebView as "Mobile Safari UI/WKWebView", and other iOS browsers as "Chrome Mobile iOS", "Firefox iOS", "Edge Mobile" or an app name. All of these run on WebKit, but they kept transceiver reuse. Match any browser name that contains "safari", and any JS SDK client on iOS. React Native, Swift and Flutter do not match. isSafari() and audio RED are not changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * rtc: reuse isSafari() in isWebKit() Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * rtc: use isWebKit() for audio RED support too Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: lukasIO <mail@lukasseiler.de>