Skip to content

Conversation

@acruzg
Copy link

@acruzg acruzg commented Jan 29, 2026

Description

Surgical replacement of incorrect word choice.

Motivation

Original words were "a pick" (choice, selection), but from the surrounding text (CPU/GPU usage), probably the intention was to use "peak" (relating to the highest level, price, rate, etc. that something reaches).

@acruzg acruzg requested a review from a team as a code owner January 29, 2026 06:27
@acruzg acruzg requested review from wbamberg and removed request for a team January 29, 2026 06:27
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jan 29, 2026
@github-actions
Copy link
Contributor

Preview URLs (1 page)

@wbamberg
Copy link
Collaborator

wbamberg commented Jan 29, 2026

Thanks for your PR!

The current wording is definitely strange.

Are you familiar with this API? The bit you've edited:

Media capabilities information enables websites to enable adaptive streaming to alter the quality of content based on actual user-perceived quality, and react to peaks of CPU/GPU usage in real time.

...is this intended to mean something like: a website can start playing video, and monitor CPU/GPU usage, and if it gets above some threshold, can switch to a different less intensive format? If so I don't really see anywhere in this API that this complete use case is supported or anywhere where it's explained how to do it in combination with other APIs, so this is left looking like an unsupported claim.

Similarly the guide page has something which looks relevant to the bit you have edited:

Support for getting real-time feedback about the playback of media, so your code can make informed decisions about adapting the stream's quality or other settings to manage the user's perceived media performance and quality. One feature of this is the ability to detect when the device switches GPUs, so you can make appropriate adjustments based on the new GPU's capabilities.

...the bit about "switches GPUs" might support the reading of "pick" in the original? But I don't see anything like that feature in the API, nor is it explained how we would do this in the guide, which is very basic.

That para is followed by this note:

Note: The display capabilities functionality mentioned in the third point above have not yet appeared in any browser. They will be a useful feature of the API once available, but there is a high probability of the display capabilities functionality changing a great deal before browser implementations arrive.

...which is double weird, because the para doesn't appear to be about "display capabilities" (but the second para does).

So... it seems to me that there is more work to do, if we are to make this story coherent. Do you have experience with this API that could help with that?

@tidoust
Copy link

tidoust commented Jan 29, 2026

Not sure where it comes from, but I agree that the wording in both this page and the guide page seems wrong. The Media Capabilities API explainer notes that real time experience management is a non-goal, pointing at the Media Playback Quality as a possible way to detect perceived playback quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants