WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
243075
torch track constraint ignored on iOS
https://bugs.webkit.org/show_bug.cgi?id=243075
Summary
torch track constraint ignored on iOS
Zach Rattner
Reported
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?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-07-28 14:01:17 PDT
<
rdar://problem/97743066
>
Eric Carlson
Comment 2
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
Zach Rattner
Comment 3
2022-08-01 02:40:16 PDT
Thanks Eric. Is any ETA available? Any other tickets I should follow?
Zach Rattner
Comment 4
2024-08-06 17:28:54 PDT
This appears to have surporisingly started to work on iOS 17.5.1 (not sure if it also worked earlier). Is it officially supported now?
Zach Rattner
Comment 5
2024-08-06 22:06:27 PDT
It looks like no one at Apple updated this ticket, but torch support was introduced to the codebase back in October:
https://github.com/WebKit/WebKit/commit/9c0b105d80212675839a00325b58df55f408f1c0
Eric Carlson
Comment 6
2024-08-07 11:04:31 PDT
(In reply to Zach Rattner from
comment #5
)
> It looks like no one at Apple updated this ticket, but torch support was > introduced to the codebase back in October: >
https://github.com/WebKit/WebKit/commit/
> 9c0b105d80212675839a00325b58df55f408f1c0
My apologies, I forgot to update this when I added support for torch!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug