Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spatialScalability to VideoConfiguration #189

Merged
merged 4 commits into from
Apr 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/
ColorGamut colorGamut;
TransferFunction transferFunction;
DOMString scalabilityMode;
boolean spatialScalability;
};
</pre>

Expand Down Expand Up @@ -475,9 +476,24 @@ spec: secure-contexts; urlPrefix: https://www.w3.org/TR/secure-contexts/

<p>
If present, the <dfn for='VideoConfiguration' dict-member>scalabilityMode</dfn>
member represents the scalability mode as defined in [[webrtc-svc]].
member represents the scalability mode as defined in [[webrtc-svc]]. If
absent, the implementer defined default mode for this {{contentType}} is
assumed (i.e., the mode you get if you don't specify one via
{{RTCRtpSender/setParameters()}}). scalabilityMode is only applicable
to the {{MediaEncodingType}} {{MediaEncodingType/webrtc}}.
</p>

<p>
If present, the <dfn for='VideoConfiguration' dict-member>spatialScalability</dfn>
member represents the ability to do spatial prediction, that is,
using frames of a resolution different than the current resolution as
dependencies. If absent, spatialScalability will default to
<code>false</code>. spatialScalability is closely coupled to
{{scalabilityMode}} in the sense that streams encoded with modes using
spatial scalability (e.g. "L2T1") can only be decoded if
spatialScalability is supported. spatialScalability is only applicable
to {{MediaDecodingConfiguration}}.
</p>
</section>

<section>
Expand Down