MediaStreamSampleProtectionProperties.GetSubSampleMapping(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Digital Rights Management (DRM) sub-sample mapping from the MediaStreamSample.
void GetSubSampleMapping([Out] winrt::array_view <byte> const& & value);
public void GetSubSampleMapping(out byte[] value);
Public Sub GetSubSampleMapping (ByRef value As Byte())
Parameters
- value
-
Byte[]
byte[]
Receives the sub-sample mapping.
Remarks
The sub-sample mapping is used when only portions of the data contained in the MediaStreamSample is encrypted. The sub-sample mapping specifies which parts are encrypted and which are in the clear. The syntax of the sub-sample mapping data is specific to each individual Digital Rights Management (DRM) protection scheme.