Skip to content

Filter duplicate init data from the manifest by key ID #580

Closed
@joeyparrish

Description

@joeyparrish

We currently filter duplicate init data to reduce unnecessary license requests. This is a heuristic that still results in some unnecessary requests and MediaKeySessions. If key ID information and init data are both available in the manifest, we should filter init data by its associate key ID as well.

Note that even this would not be a perfect filter, since PSSHs can contain key-system-specific content IDs which allow multiple keys to be retrieved at once. We have no way to know about these content IDs without key-system-specific knowledge/parsers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions