Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum values that ignore naming conventions in Media Capabilities #227

Open
3 tasks
dontcallmedom-bot opened this issue Aug 30, 2024 · 2 comments
Open
3 tasks
Assignees

Comments

@dontcallmedom-bot
Copy link

While crawling Media Capabilities, the following enum values were found to ignore naming conventions (lower case, hyphen separated words):

  • The value "smpteSt2086" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)
  • The value "smpteSt2094-10" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)
  • The value "smpteSt2094-40" of the enum HdrMetadataType does not match the expected conventions (lower case, hyphen separated words)

See Use casing rules consistent with existing APIs in Web Platform Design Principles document for guidance.

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

@markafoltz markafoltz self-assigned this Sep 23, 2024
@markafoltz
Copy link
Contributor

I'm self assigning but not committing to making any changes here. Questions I have:

  • Were these names chosen intentionally to match SMTPE standards IDs?
  • How much effort is needed across the ecosystem to migrate?

@markafoltz
Copy link
Contributor

Answering question 1:

Yes, they correspond to the following specification names, like e.g. SMPTE ST-2086

I suppose these could have been converted to e.g. smpte-st-2086 enum values instead.

Note, that the spec links in the biblio for these formats are currently broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants