Stream is acquired with resolution 640x360p, then cloned and attached to RtpSender. From Sender stats we see that after screen lock/unlock sent resolution is 1920x1080 while track.getSettings() reports resolution as 640x360p. JSfiddle link to repro: https://jsfiddle.net/n891q5am/ Repro steps: 1. press start button 2. press startVideo button 3. lock phone screen 4. unlock phone screen -> sent resolution becomes 1920x1080 repro 100% with iPhone 12Pro, iOS version 17.1
<rdar://problem/117528224>
Will try on ToT WebKit today.
It works as expected in a recent WebKit ToT on iOS.
*** This bug has been marked as a duplicate of bug 261329 ***