Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSampleProtectionProperties class

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

Syntax


var mediaStreamSampleProtectionProperties = MediaStreamSample.protection;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The MediaStreamSampleProtectionProperties class has these types of members:

Methods

The MediaStreamSampleProtectionProperties class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetInitializationVector Gets the Digital Rights Management (DRM) initialization vector from the MediaStreamSample.
GetKeyIdentifier Gets the Digital Rights Management (DRM) key identifier from the MediaStreamSample.
GetSubSampleMapping Gets the Digital Rights Management (DRM) sub-sample mapping from the MediaStreamSample.
SetInitializationVector Sets the Digital Rights Management (DRM) initialization vector for the MediaStreamSample.
SetKeyIdentifier Sets the Digital Rights Management (DRM) key identifier for the MediaStreamSample.
SetSubSampleMapping Sets the Digital Rights Management (DRM) sub-sample mapping for the MediaStreamSample.

 

Remarks

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

Object
MediaStreamSource Sample

 

 

Show:
© 2015 Microsoft