Freigeben über


INDStreamParserNotifier.OnBeginSetupDecryptor Methode

Definition

Wird vom Streamparser aufgerufen, wenn er einen Setupentschlüsselungsor anfordert.

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())

Parameter

descriptor
IMediaStreamDescriptor

Der Deskriptor des zu entschlüsselnden Mediendatenstroms.

keyID
Guid

Platform::Guid

winrt::guid

Der schlüsselbezeichner, der für die Entschlüsselung verwendet wird.

proBytes

Byte[]

byte[]

Das Bytearray eines PlayReadyObject zum Erstellen des Decryptors. Für MPEG2 TS befindet sich das PlayReadyObject im ECM-Paket (Entitlement Control Messages).

Attribute

Gilt für: