@@ -243,6 +243,9 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
243
243
<li>
244
244
If <code> keySystemConfiguration</code> [=map/exists=] :
245
245
<ol>
246
+ <li>
247
+ The <code> type</code> MUST be {{media-source}} or {{file}} .
248
+ </li>
246
249
<li>
247
250
If <code> keySystemConfiguration.audio</code> [=map/exists=] ,
248
251
<code> audio</code> MUST also [=map/exist=] .
@@ -402,6 +405,11 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
402
405
If {{VideoConfiguration/framerate}} is not finite or is not greater
403
406
than 0, return <code> false</code> and abort these steps.
404
407
</li>
408
+ <li>
409
+ If an optional member is specified for a {{MediaDecodingType}} or
410
+ {{MediaEncodingType}} to which it's not applicable, return
411
+ <code> false</code> and abort these steps. See applicability rules
412
+ in the member definitions below.
405
413
<li>
406
414
Return <code> true</code> .
407
415
</li>
@@ -449,7 +457,9 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
449
457
member represents that the video track includes the specified HDR
450
458
metadata type, which the UA needs to be capable of interpreting for tone
451
459
mapping the HDR content to a color volume and luminance of the output
452
- device. Valid inputs are defined by {{HdrMetadataType}} .
460
+ device. Valid inputs are defined by {{HdrMetadataType}} . hdrMetadataType is
461
+ only applicable to {{MediaDecodingConfiguration}} for types {{media-source}}
462
+ and {{file}} .
453
463
</p>
454
464
455
465
<p>
@@ -461,7 +471,9 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
461
471
to render the appropriate color, or something close enough. If the
462
472
attached output device does not support the specified color, the UA
463
473
needs to be capable of mapping the specified color to a color supported
464
- by the output device. Valid inputs are defined by {{ColorGamut}} .
474
+ by the output device. Valid inputs are defined by {{ColorGamut}} . colorGamut
475
+ is only applicable to {{MediaDecodingConfiguration}} for types
476
+ {{media-source}} and {{file}} .
465
477
</p>
466
478
467
479
<p>
@@ -471,7 +483,8 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
471
483
electro-optical algorithm supported by the rendering capabilities of a
472
484
user agent, independent of the display, to map the source colors in the
473
485
decoded media into the colors to be displayed. Valid inputs are defined
474
- by {{TransferFunction}} .
486
+ by {{TransferFunction}} . transferFunction is only applicable to
487
+ {{MediaDecodingConfiguration}} for types {{media-source}} and {{file}} .
475
488
</p>
476
489
477
490
<p>
@@ -480,7 +493,7 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
480
493
absent, the implementer defined default mode for this {{contentType}} is
481
494
assumed (i.e., the mode you get if you don't specify one via
482
495
{{RTCRtpSender/setParameters()}} ). scalabilityMode is only applicable
483
- to the {{MediaEncodingType}} {{MediaEncodingType/webrtc}} .
496
+ to {{MediaEncodingConfiguration}} for type {{MediaEncodingType/webrtc}} .
484
497
</p>
485
498
486
499
<p>
@@ -492,7 +505,8 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
492
505
{{scalabilityMode}} in the sense that streams encoded with modes using
493
506
spatial scalability (e.g. "L2T1") can only be decoded if
494
507
spatialScalability is supported. spatialScalability is only applicable
495
- to {{MediaDecodingConfiguration}} .
508
+ to {{MediaDecodingConfiguration}} for types {{media-source}} , {{file}} ,
509
+ and {{MediaDecodingType/webrtc}} .
496
510
</p>
497
511
</section>
498
512
@@ -638,7 +652,10 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
638
652
639
653
<p>
640
654
The <dfn for='AudioConfiguration' dict-member>channels</dfn> member
641
- represents the audio channels used by the audio track.
655
+ represents the audio channels used by the audio track. channels is only
656
+ applicable to the decoding types {{media-source}} , {{file}} , and
657
+ {{MediaDecodingType/webrtc}} and the encoding type
658
+ {{MediaEncodingType/webrtc}} .
642
659
</p>
643
660
644
661
<p class='issue'>
@@ -657,7 +674,10 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
657
674
<p>
658
675
The <dfn for='AudioConfiguration' dict-member>samplerate</dfn>
659
676
represents the samplerate of the audio track in. The samplerate is the
660
- number of samples of audio carried per second.
677
+ number of samples of audio carried per second. samplerate is only
678
+ applicable to the decoding types {{media-source}} , {{file}} , and
679
+ {{MediaDecodingType/webrtc}} and the encoding type
680
+ {{MediaEncodingType/webrtc}} .
661
681
</p>
662
682
663
683
<p class='note'>
@@ -677,7 +697,8 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
677
697
the user agent SHOULD only report this configuration as
678
698
{{MediaCapabilitiesInfo/supported}} if it can support spatial
679
699
rendering *for the current audio output device* without failing back to a
680
- non-spatial mix of the stream.
700
+ non-spatial mix of the stream. spatialRendering is only applicable to
701
+ {{MediaDecodingConfiguration}} for types {{media-source}} and {{file}} .
681
702
</p>
682
703
</section>
683
704
</section>
0 commit comments