NDStreamParserNotifier.OnMediaStreamDescriptorCreated 方法

定义

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

public:
 virtual void OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor ^> ^ audioStreamDescriptors, IVector<VideoStreamDescriptor ^> ^ videoStreamDescriptors) = OnMediaStreamDescriptorCreated;
void OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor> const& audioStreamDescriptors, IVector<VideoStreamDescriptor> const& videoStreamDescriptors);
/// [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 OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor> const& audioStreamDescriptors, IVector<VideoStreamDescriptor> const& videoStreamDescriptors);
public void OnMediaStreamDescriptorCreated(IList<AudioStreamDescriptor> audioStreamDescriptors, IList<VideoStreamDescriptor> videoStreamDescriptors);
[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 OnMediaStreamDescriptorCreated(IList<AudioStreamDescriptor> audioStreamDescriptors, IList<VideoStreamDescriptor> videoStreamDescriptors);
function onMediaStreamDescriptorCreated(audioStreamDescriptors, videoStreamDescriptors)
Public Sub OnMediaStreamDescriptorCreated (audioStreamDescriptors As IList(Of AudioStreamDescriptor), videoStreamDescriptors As IList(Of VideoStreamDescriptor))

参数

audioStreamDescriptors

IVector<AudioStreamDescriptor>

IList<AudioStreamDescriptor>

属于媒体流描述符的音频流描述符数组。

videoStreamDescriptors

IVector<VideoStreamDescriptor>

IList<VideoStreamDescriptor>

视频流描述符的数组,这些描述符属于媒体流描述符的一部分。

实现

Windows.Media.Protection.PlayReady.INDStreamParserNotifier.OnMediaStreamDescriptorCreated(System.Collections.Generic.IList{Windows.Media.Core.AudioStreamDescriptor},System.Collections.Generic.IList{Windows.Media.Core.VideoStreamDescriptor})
属性

适用于