I've try to use this new code, but 12.3.1 drops after 70 seconds.
I actually using an older version of yours and it works ok on some of the phonse - as long as I turning off any WEBRTC feature in the safari advanced settings under experimental feature.
Is there any fix on the way ?