Delen via


INDStreamParserNotifier Interface

Definition

Contains methods that a stream parser plug-in uses to send notifications to a PlayReady-ND client.

public interface class INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
struct INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
/// [Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
public interface INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
[Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public interface INDStreamParserNotifier
Public Interface INDStreamParserNotifier
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

The stream parser plug-in is responsible for instantiating this interface and using its methods to send notifications.

Methods

OnBeginSetupDecryptor(IMediaStreamDescriptor, Guid, Byte[])

Called by the stream parser when it requests a setup decryptor.

OnContentIDReceived(INDLicenseFetchDescriptor)

Called by a stream parser when it receives the content identifier.

OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor>, IVector<VideoStreamDescriptor>)

Called by the stream parser when the media stream descriptor is created.

OnSampleParsed(UInt32, NDMediaStreamType, MediaStreamSample, Int64, NDClosedCaptionFormat, Byte[])

Called when the stream parser parses a sample from the media stream.

Applies to