MediaStreamSampleProtectionProperties MediaStreamSampleProtectionProperties MediaStreamSampleProtectionProperties MediaStreamSampleProtectionProperties MediaStreamSampleProtectionProperties Class

Definition

Represents a collection properties that are specific to the Digital Rights Management (DRM) protection of the MediaStreamSample.

public : sealed class MediaStreamSampleProtectionProperties : IMediaStreamSampleProtectionProperties
struct winrt::Windows::Media::Core::MediaStreamSampleProtectionProperties : IMediaStreamSampleProtectionProperties
public sealed class MediaStreamSampleProtectionProperties : IMediaStreamSampleProtectionProperties
Public NotInheritable Class MediaStreamSampleProtectionProperties Implements IMediaStreamSampleProtectionProperties
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

See the MediaStreamSource Sample for an example of using Media Stream Source in a Universal Windows app.

Methods

GetInitializationVector(Byte[]) GetInitializationVector(Byte[]) GetInitializationVector(Byte[]) GetInitializationVector(Byte[]) GetInitializationVector(Byte[])

Gets the Digital Rights Management (DRM) initialization vector from the MediaStreamSample.

GetKeyIdentifier(Byte[]) GetKeyIdentifier(Byte[]) GetKeyIdentifier(Byte[]) GetKeyIdentifier(Byte[]) GetKeyIdentifier(Byte[])

Gets the Digital Rights Management (DRM) key identifier from the MediaStreamSample.

GetSubSampleMapping(Byte[]) GetSubSampleMapping(Byte[]) GetSubSampleMapping(Byte[]) GetSubSampleMapping(Byte[]) GetSubSampleMapping(Byte[])

Gets the Digital Rights Management (DRM) sub-sample mapping from the MediaStreamSample.

SetInitializationVector(Byte[]) SetInitializationVector(Byte[]) SetInitializationVector(Byte[]) SetInitializationVector(Byte[]) SetInitializationVector(Byte[])

Sets the Digital Rights Management (DRM) initialization vector for the MediaStreamSample.

SetKeyIdentifier(Byte[]) SetKeyIdentifier(Byte[]) SetKeyIdentifier(Byte[]) SetKeyIdentifier(Byte[]) SetKeyIdentifier(Byte[])

Sets the Digital Rights Management (DRM) key identifier for the MediaStreamSample.

SetSubSampleMapping(Byte[]) SetSubSampleMapping(Byte[]) SetSubSampleMapping(Byte[]) SetSubSampleMapping(Byte[]) SetSubSampleMapping(Byte[])

Sets the Digital Rights Management (DRM) sub-sample mapping for the MediaStreamSample.

See Also