Bug 263373

Summary: wrong stream resolution after lock/unlock screen
Product: WebKit Reporter: ivanova.m241
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: iOS 17   

Description ivanova.m241 2023-10-19 04:46:21 PDT
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
Comment 1 Radar WebKit Bug Importer 2023-10-26 04:47:13 PDT
<rdar://problem/117528224>
Comment 2 youenn fablet 2024-01-11 04:57:04 PST
Will try on ToT WebKit today.
Comment 3 youenn fablet 2024-01-11 05:06:07 PST
It works as expected in a recent WebKit ToT on iOS.
Comment 4 youenn fablet 2024-01-11 05:14:02 PST

*** This bug has been marked as a duplicate of bug 261329 ***