@@ -1984,7 +1984,7 @@ <h2>Background segmentation mask</h2>
19841984 This allows the web application
19851985 to access the original unmodified frame and
19861986 to fine tune frame modifications based on its likings.
1987- For that reason, we extend {{MediaStreamTrack}} with the following properties and {{VideoFrame }} with the following attributes.
1987+ For that reason, we extend {{MediaStreamTrack}} with the following properties and {{VideoFrameMetadata }} with the following attributes.
19881988 </ p >
19891989 < pre class ="idl ">
19901990partial dictionary MediaTrackSupportedConstraints {
@@ -2003,24 +2003,27 @@ <h2>Background segmentation mask</h2>
20032003 sequence<boolean> backgroundSegmentationMask;
20042004};</ pre >
20052005 < section >
2006- < h3 > VideoFrameMetadata dictionary extensions </ h3 >
2006+ < h3 > {{ VideoFrameMetadata}} </ h3 >
20072007 < pre class ="idl ">
20082008partial dictionary VideoFrameMetadata {
20092009 ImageBitmap backgroundSegmentationMask;
20102010};</ pre >
2011- < section >
2012- < h4 > Dictionary {{VideoFrameMetadata}} Members</ h4 >
2013- < dl data-link-for ="VideoFrameMetadata " data-dfn-for ="VideoFrameMetadata " class ="dictionary-members ">
2014- < dt > < dfn > < code > backgroundSegmentationMask</ code > </ dfn >
2015- of type
2016- < span class ="idlMemberType "> {{VideoFrameMetadata}}</ span > </ dt >
2011+ < section class ="notoc ">
2012+ < h4 > Members</ h4 >
2013+ < dl class ="dictionary-members " data-link-for ="VideoFrameMetadata " data-dfn-for ="VideoFrameMetadata ">
2014+ < dt > < dfn > < code > backgroundSegmentationMask</ code > </ dfn > of type < code > {{ImageBitmap}}</ code > </ dt >
20172015 < dd >
20182016 < p > A background segmentation mask with
20192017 white denoting certainly foreground,
20202018 black denoting certainly background and
20212019 grey denoting uncertainty or ambiguity with
20222020 light shades of grey denoting likely foreground and
2023- dark shades of grey denoting likely background.</ p >
2021+ dark shades of grey denoting likely background.
2022+ Absence might indicate
2023+ that the frame is not from a camera, or
2024+ that the user agent does not support or
2025+ was not able to do background segmentation.
2026+ </ p >
20242027 </ dd >
20252028 </ dl >
20262029 </ section >
0 commit comments