WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
281077
getDisplayMedia() tracks aren't supposed to have track.getSettings().deviceId
https://bugs.webkit.org/show_bug.cgi?id=281077
Summary
getDisplayMedia() tracks aren't supposed to have track.getSettings().deviceId
jib
Reported
2024-10-08 12:00:48 PDT
URLs (if applicable) :
https://jsfiddle.net/jib1/q75yb8pf/130/
Other browsers tested: Chrome: FAIL Firefox: OK What steps will reproduce the problem? 1. Open URL and click the "Present!" button 2. Pick a display surface to share and click "Share" What is the expected result? - undefined What happens instead? - E6A3BEF19223BEAE6261A6237F2616B827AF9318 This is proprietary behavior. The spec says [1]: "deviceIds are not exposed." deviceId isn't listed under § 5.4 Constrainable Properties for Captured Display Surfaces. [1]
https://w3c.github.io/mediacapture-screen-share/#deviceId
[2]
https://w3c.github.io/mediacapture-screen-share/#constrainable-properties
Attachments
rendering in safari, firefox, chromering
(1.59 MB, image/png)
2024-11-06 23:27 PST
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-10-15 12:01:17 PDT
<
rdar://problem/137979731
>
Karl Dubost
Comment 2
2024-11-06 23:27:50 PST
Created
attachment 473159
[details]
rendering in safari, firefox, chromering Safari Technology Preview 206 20621.1.3.21.1 Firefox Nightly 134.0a1 13424.11.4 Google Chrome Canary 132.0.6823.0 6823.0
youenn fablet
Comment 3
2024-11-06 23:29:12 PST
Discussed in
https://github.com/w3c/mediacapture-screen-share/issues/308
Karl Dubost
Comment 4
2024-11-06 23:36:40 PST
after sharing, I get Safari: A MediaStreamTrack ended due to a capture failure in the console Firefox: undefined Chrome: NotAllowedError: Permission denied and window:0:0 So on Safari I don't have any sharing happening.
youenn fablet
Comment 5
2024-11-06 23:38:10 PST
(In reply to Karl Dubost from
comment #4
)
> after sharing, I get > > Safari: A MediaStreamTrack ended due to a capture failure in the console > Firefox: undefined > Chrome: NotAllowedError: Permission denied and window:0:0 > > So on Safari I don't have any sharing happening.
Worth taking a sysdiagnose.
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