INDStreamParserNotifier 接口

定义

包含流分析程序插件用于将通知发送到 PlayReady-ND 客户端的方法。

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
派生
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

流分析程序插件负责实例化此接口并使用其方法来发送通知。

方法

OnBeginSetupDecryptor(IMediaStreamDescriptor, Guid, Byte[])

由流分析程序在请求安装解密器时调用。

OnContentIDReceived(INDLicenseFetchDescriptor)

由流分析程序在收到内容标识符时调用。

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

在创建媒体流描述符时由流分析程序调用。

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

当流分析程序分析媒体流中的样本时调用。

适用于