Media capabilities

` provides access toMediaKeySystemAccess` object that allows to query supported codecs and other informations about the system.

For example, visit https://www.fit.vutbr.cz/~polcak/jsr/hdcp/ and try a different browser or computer.

See also: https://w3c.github.io/media-capabilities/

We provide two modes of protection:

  1. Strict approach prevents accessing the API.
  2. Farbling approach changes the output to a non-existing codec with 12.5% probability.