共用方式為


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})
屬性

適用於