INDStreamParserNotifier.OnBeginSetupDecryptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由流分析程序在请求安装解密器时调用。
public:
void OnBeginSetupDecryptor(IMediaStreamDescriptor ^ descriptor, Platform::Guid keyID, Platform::Array <byte> ^ proBytes);
void OnBeginSetupDecryptor(IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, winrt::array_view <byte> const& proBytes);
/// [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")]
void OnBeginSetupDecryptor(IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, winrt::array_view <byte> const& proBytes);
public void OnBeginSetupDecryptor(IMediaStreamDescriptor descriptor, Guid keyID, byte[] proBytes);
[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 void OnBeginSetupDecryptor(IMediaStreamDescriptor descriptor, Guid keyID, byte[] proBytes);
function onBeginSetupDecryptor(descriptor, keyID, proBytes)
Public Sub OnBeginSetupDecryptor (descriptor As IMediaStreamDescriptor, keyID As Guid, proBytes As Byte())
参数
- descriptor
- IMediaStreamDescriptor
正在解密的媒体流的描述符。
- keyID
-
Guid
Platform::Guid
winrt::guid
用于解密的密钥标识符。
- proBytes
-
Byte[]
byte[]
用于创建解密器的 PlayReadyObject 的字节数组。 对于 MPEG2 TS,PlayReadyObject 位于授权控制消息中, (ECM) 数据包。
- 属性