diff --git a/index.bs b/index.bs index ecd1fa5..15798d7 100644 --- a/index.bs +++ b/index.bs @@ -92,6 +92,10 @@ spec: encrypted-media; for: EME; urlPrefix: https://www.w3.org/TR/encrypted-medi text: audioCapabilities; url: dom-mediakeysystemconfiguration-audiocapabilities text: contentType; url: dom-mediakeysystemmediacapability-contenttype +spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypted-media/# + type: attribute + text: encryptionScheme; url: dom-mediakeysystemmediacapability-encryptionscheme + spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/ type: dfn; text: Is the environment settings object settings a secure context?; url: #settings-object @@ -121,6 +125,12 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# "publisher": "SMPTE", "date": "2016", "id": "SMPTE-ST-2094" + }, + "ENCRYPTED-MEDIA-DRAFT": { + "href": "https://w3c.github.io/encrypted-media", + "title": "Encrypted Media Extensions", + "publisher": "W3C", + "date": "13 December 2019" } } @@ -690,6 +700,7 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# dictionary KeySystemTrackConfiguration { DOMString robustness = ""; + DOMString? encryptionScheme = null; }; @@ -698,6 +709,11 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# The robustness member represents a {{EME/robustness}} level as described in [[!ENCRYPTED-MEDIA]].

+ +

+ The encryptionScheme + member represents an {{EME/encryptionScheme}} as described in [[!ENCRYPTED-MEDIA-DRAFT]]. +

@@ -954,7 +970,17 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/#
  • If config.keySystemConfiguration.audio - is present, set the {{EME/robustness}} attribute to config.keySystemConfiguration.audio.robustness. + is present: +
      +
    1. + Set the {{EME/robustness}} attribute to + config.keySystemConfiguration.audio.robustness +
    2. +
    3. + Set the {{EME/encryptionScheme}} attribute to + config.keySystemConfiguration.audio.encryptionScheme +
    4. +
  • @@ -968,9 +994,17 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# config.video.contentType.
  • - If config.keySystemConfiguration.video is present, set the - {{EME/robustness}} attribute to - config.keySystemConfiguration.video.robustness. + If config.keySystemConfiguration.video is present: +
      +
    1. + Set the {{EME/robustness}} attribute to + config.keySystemConfiguration.video.robustness. +
    2. +
    3. + Set the {{EME/encryptionScheme}} attribute to + config.keySystemConfiguration.video.encryptionScheme +
    4. +