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

Description Arjun Vade 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.
Comment 1 Radar WebKit Bug Importer 2022-05-18 09:54:50 PDT
<rdar://problem/93509993>
Comment 2 youenn fablet 2022-06-23 02:23:49 PDT
This works fine in STP 147, closing bug.
Please reopen if you are still able to reproduce.