Bug 243075

Summary: torch track constraint ignored on iOS
Product: WebKit Reporter: Zach Rattner <zach>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, john.diaz, shawnlee, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 15   

Description Zach Rattner 2022-07-21 14:01:00 PDT
As per MDN, MediaStreamTrack.applyConstraints should be supported on iOS 11+ - https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints 

But a basic demo works on Android but not iOS: https://codepen.io/adamrifai/pen/YLxjKa

Is there any way to get `torch` to work on iOS? If not, any plans to?
Comment 1 Radar WebKit Bug Importer 2022-07-28 14:01:17 PDT
<rdar://problem/97743066>
Comment 2 Eric Carlson 2022-07-29 10:35:41 PDT
The `torch` constraint is part of the MediaStream Image Capture spec, which WebKit doesn't support yet - https://w3c.github.io/mediacapture-image/#dom-mediatracksupportedconstraints-torch
Comment 3 Zach Rattner 2022-08-01 02:40:16 PDT
Thanks Eric. Is any ETA available? Any other tickets I should follow?