63
63
} ,
64
64
} ,
65
65
66
- xref : [ "dom" , "html" , "infra" , "webaudio" ]
66
+ xref : [ "dom" , "html" , "infra" , "mimesniff" , " webaudio"]
67
67
} ;
68
68
</ script >
69
69
< link rel ="stylesheet " href ="eme.css ">
@@ -1021,22 +1021,6 @@ <h2>
1021
1021
multiple independent profiles for a single account.
1022
1022
</ p >
1023
1023
</ dd >
1024
- < dt >
1025
- < dfn > Valid Media MIME Type</ dfn >
1026
- </ dt >
1027
- < dd >
1028
- < p >
1029
- A valid media MIME type is a media < a data-cite ="html#mime-types "> MIME type</ a > that is
1030
- also a [=valid MIME type string=] [[mimesniff]]. When a MIME type includes parameters,
1031
- such as `"codecs"` [[RFC6381]], such parameters MUST also be valid per the relevant
1032
- specification.
1033
- </ p >
1034
- < p >
1035
- When used with the features defined in this specification, MIME type strings SHOULD
1036
- explicitly specify codecs and codec constraints (e.g., per [[RFC6381]]) unless these
1037
- are normatively implied by the container.
1038
- </ p >
1039
- </ dd >
1040
1024
</ dl >
1041
1025
</ section >
1042
1026
< section >
@@ -1928,14 +1912,20 @@ <h5>
1928
1912
</ li > <!-- Invalid input. -->
1929
1913
< li >
1930
1914
< p >
1931
- If < var > content type </ var > is not a [=valid media MIME type=] or is
1932
- unrecognized, continue to the next iteration .
1915
+ Let < var > mimeType </ var > be the result of running < a > parse a MIME type </ a >
1916
+ with < var > content type </ var > .
1933
1917
</ p >
1934
1918
</ li >
1935
1919
< li >
1936
1920
< p >
1937
- Let < var > container</ var > be the container type specified by < var > content
1938
- type</ var > .
1921
+ If < var > mimeType</ var > is < code > failure</ code > or is unrecognized,
1922
+ continue to the next iteration.
1923
+ </ p >
1924
+ </ li >
1925
+ < li >
1926
+ < p >
1927
+ Let < var > container</ var > be the container type specified by
1928
+ < var > mimeType</ var > .
1939
1929
</ p >
1940
1930
</ li >
1941
1931
< li >
@@ -1951,13 +1941,14 @@ <h5>
1951
1941
</ li >
1952
1942
< li >
1953
1943
< p >
1954
- Let < var > parameters</ var > be the RFC 6381 [[RFC6381]] parameters, if any,
1955
- specified by < var > content type </ var > .
1944
+ Let < var > parameters</ var > be the "codecs" and "profiles" RFC 6381 [[RFC6381]]
1945
+ parameters, if any, of < var > mimeType </ var > .
1956
1946
</ p >
1957
1947
</ li >
1958
1948
< li >
1959
1949
< p >
1960
1950
If the user agent does not recognize one or more < var > parameters</ var > ,
1951
+ or if any parameters are not valid per the relevant specification,
1961
1952
continue to the next iteration.
1962
1953
</ p >
1963
1954
</ li >
@@ -1998,11 +1989,12 @@ <h5>
1998
1989
</ li >
1999
1990
< li >
2000
1991
< p >
2001
- If < var > content type </ var > is not strictly an < var > audio/video type</ var > ,
1992
+ If < var > mimeType </ var > is not strictly an < var > audio/video type</ var > ,
2002
1993
continue to the next iteration.
2003
1994
</ p >
2004
1995
< p class ="note ">
2005
- For example, if < var > audio/video type</ var > is Video and the top-level type
1996
+ For example, if < var > audio/video type</ var > is Video and < var > mimeType</ var > 's
1997
+ < var > type</ var >
2006
1998
is not "video" or < var > media types</ var > contains non-video codecs.
2007
1999
</ p >
2008
2000
</ li >
@@ -2483,8 +2475,13 @@ <h2>
2483
2475
</ dt >
2484
2476
< dd >
2485
2477
< p >
2486
- The type of the < a data-cite ="html#media-resource "> media resource</ a > . Its value
2487
- must be a [=valid media MIME type=]. The empty string is invalid.
2478
+ The < a data-cite ="html#mime-types "> MIME type</ a > of the
2479
+ < a data-cite ="html#media-resource "> media resource</ a > .
2480
+ </ p >
2481
+ < p class ="note ">
2482
+ Applications SHOULD ensure that the MIME type explicitly specifies codecs
2483
+ and codec constraints (e.g., per [[RFC6381]]) unless these are normatively
2484
+ implied by the container.
2488
2485
</ p >
2489
2486
</ dd >
2490
2487
< dt >
@@ -2619,7 +2616,7 @@ <h2>
2619
2616
The returned object is a non-strict subset (plus any implied defaults) of the first
2620
2617
satisfiable {{MediaKeySystemConfiguration}} configuration passed to the
2621
2618
{{Navigator/requestMediaKeySystemAccess()}} call that returned the promise that was
2622
- resolved with this object. It does not contain values capabilities not specified in
2619
+ resolved with this object. It does not contain values for capabilities not specified in
2623
2620
that single configuration (other than implied defaults) and thus may not reflect all
2624
2621
capabilities of the [=Key System=] implementation. All values in the configuration
2625
2622
may be used in any combination. Members of type {{MediaKeysRequirement}} reflect
0 commit comments