The peerconnection renegotiation timing has drastically increased in STP Release 133 (Safari 15.4, WebKit 16613.1.2.2) when compared to Safari 15.0 (16612.1.29.41.4, 16612). Steps to reproduce 1. Go to https://webrtc.github.io/samples/src/content/peerconnection/negotiate-timing/. 2. Click on start->call->renegotiate with the number of video sections set to 100. 3. Compare the log that prints the time taken for negotiating from 1 to 100 video transceivers. For Safari 15.0, it is around 633ms and on STP 133 it is 57040ms.
<rdar://problem/84297696>
Updating libwebrtc to M96 at https://bugs.webkit.org/show_bug.cgi?id=232873 should fix the performance regression.
This was resolved by <rdar://85196125>
*** This bug has been marked as a duplicate of bug 232873 ***