Closed
Description
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.