Bagikan melalui


INDStreamParserNotifier.OnBeginSetupDecryptor Metode

Definisi

Dipanggil oleh pengurai aliran saat meminta dekripsi penyiapan.

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

Deskriptor aliran media yang didekripsi.

keyID
Guid

Platform::Guid

winrt::guid

Pengidentifikasi kunci yang digunakan untuk dekripsi.

proBytes

Byte[]

byte[]

Array byte PlayReadyObject untuk membuat dekripsi. Untuk MPEG2 TS, PlayReadyObject berada dalam paket pesan kontrol pemberian izin (ECM).

Atribut

Berlaku untuk