Bug 263373 - wrong stream resolution after lock/unlock screen
Summary: wrong stream resolution after lock/unlock screen
Status: RESOLVED DUPLICATE of bug 261329
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Other
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-19 04:46 PDT by ivanova.m241
Modified: 2024-01-11 05:14 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***