diff --git a/index.bs b/index.bs index 9b3c857..0a8c6bf 100644 --- a/index.bs +++ b/index.bs @@ -464,8 +464,8 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# dictionary MediaCapabilitiesKeySystemConfiguration { required DOMString keySystem; DOMString initDataType = ""; - DOMString audioRobustness = ""; - DOMString videoRobustness = ""; + DOMString audioRobustness; + DOMString videoRobustness; MediaKeysRequirement distinctiveIdentifier = "optional"; MediaKeysRequirement persistentState = "optional"; sequence sessionTypes; @@ -527,13 +527,12 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# required boolean supported; required boolean smooth; required boolean powerEfficient; - };
       dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
-        required MediaKeySystemAccess keySystemAccess;
+        MediaKeySystemAccess? keySystemAccess = null;
       };
     
@@ -746,9 +745,18 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# config.audio.contentType.
  • - Set the {{EME/robustness}} attribute to + Let robustness be a DOMString + initialized to the empty string (""). +
  • +
  • + If + config.keySystemConfiguration.audioRobustness + is present, set robustness to config.keySystemConfiguration.audioRobustness.
  • +
  • + Set the {{EME/robustness}} attribute to robustness. +
  • @@ -761,9 +769,19 @@ spec: workers; urlPrefix: https://www.w3.org/TR/workers/# config.video.contentType.
  • - Set the {{EME/robustness}} attribute to + Let robustness be a DOMString + initialized to the empty string (""). +
  • +
  • + If + config.keySystemConfiguration.videoRobustness + is present, set robustness to config.keySystemConfiguration.videoRobustness.
  • +
  • + Set the {{EME/robustness}} attribute to robustness. +
  • +