Share via


MediaStreamSampleProtectionProperties.GetSubSampleMapping(Byte[]) Method

Definition

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.

Applies to