Bug 265305 - getDisplayMedia frameRate always 30 regardless of constraints
Summary: getDisplayMedia frameRate always 30 regardless of constraints
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-24 05:21 PST by ivan.zahrodskyi
Modified: 2023-11-28 12:17 PST (History)
4 users (show)

See Also:


Attachments
sample to reproduce issue (2.62 KB, text/html)
2023-11-24 05:21 PST, ivan.zahrodskyi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivan.zahrodskyi 2023-11-24 05:21:30 PST
Created attachment 468748 [details]
sample to reproduce issue

When calling getDisplayMedia with some frameRate constrained it doesn't take any effect.

example:

navigator.mediaDevices.getDisplayMedia({ video: { frameRate: {max: 5}, width: 640, height: 360 } });

the frameRate is always 30.

see sample in attachment
Comment 1 Radar WebKit Bug Importer 2023-11-28 03:24:03 PST
<rdar://problem/118874132>
Comment 2 youenn fablet 2023-11-28 09:25:32 PST
Pull request: https://github.com/WebKit/WebKit/pull/21002
Comment 3 EWS 2023-11-28 12:17:16 PST
Committed 271233@main (fb659ad0308b): <https://commits.webkit.org/271233@main>

Reviewed commits have been landed. Closing PR #21002 and removing active labels.