Bug 240570

Summary: MediaStreamTrack.applyConstraints with max frameRate throws overconstrained error incorrectly
Product: WebKit Reporter: Arjun Vade <avade>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Major CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Intel)   
OS: macOS 12   
Attachments:
Description Flags
reproducible test case none

Arjun Vade
Reported 2022-05-18 04:01:04 PDT
Created attachment 459534 [details] reproducible test case Steps to reproduce: 1. run the html file attached in safari browser 2. click the button 3. notice that second video element is not showing anything. Open the dev tools console and notice the overconstrained error There should not be overconstrained error because same applyConstraints with simple `{ frameRate: 8 }` works fine.
Attachments
reproducible test case (1.27 KB, text/html)
2022-05-18 04:01 PDT, Arjun Vade
no flags
Radar WebKit Bug Importer
Comment 1 2022-05-18 09:54:50 PDT
youenn fablet
Comment 2 2022-06-23 02:23:49 PDT
This works fine in STP 147, closing bug. Please reopen if you are still able to reproduce.
Note You need to log in before you can comment on or make changes to this bug.