Skip to content

Replace "use the cdm"#609

Merged
chrisn merged 3 commits into
mainfrom
use-cdm
Jun 9, 2026
Merged

Replace "use the cdm"#609
chrisn merged 3 commits into
mainfrom
use-cdm

Conversation

@chrisn

@chrisn chrisn commented Jun 9, 2026

Copy link
Copy Markdown
Member

Various algorithms in the spec say "use the cdm", but in these cases "cdm" is actally a variable that refers to an instance of the CDM. Hence "use cdm" is more appropriate.


Preview | Diff

@chrisn chrisn requested a review from xhwang-chromium June 9, 2026 16:14
Comment thread encrypted-media-respec.html Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "the cdm" here also just be "cdm"? There are probably more cases like this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, yes. I've fixed them all now.

@xhwang-chromium

Copy link
Copy Markdown
Contributor

LGTM

One thing for discussion though. Sentences started with lower case "cdm" looks a bit awkward. But I don't know what the recommendation is for the case...

Example:

cdm MUST NOT use any stream-specific data...

@chrisn

chrisn commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

Another way to phrase it might be: "The [=CDM=] MUST NOT", or "The [=CDM=], cdm, MUST NOT"

@xhwang-chromium

Copy link
Copy Markdown
Contributor

Sounds good. I am fine with either suggestion.

@chrisn

chrisn commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

Thanks, I went with the second option, so it's explicit.

@chrisn chrisn merged commit e5db5ea into main Jun 9, 2026
2 checks passed
@chrisn chrisn deleted the use-cdm branch June 9, 2026 19:09
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

Successfully merging this pull request may close these issues.

2 participants