INDStreamParser.GetStreamInformation 方法

定义

检索媒体流描述符 (音频或视频) 和流标识符的流类型。

public:
 unsigned int GetStreamInformation(IMediaStreamDescriptor ^ descriptor, [Out] NDMediaStreamType & streamType);
uint32_t GetStreamInformation(IMediaStreamDescriptor const& descriptor, [Out] NDMediaStreamType & streamType);
/// [Windows.Foundation.Metadata.Deprecated("INDStreamParser is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
uint32_t GetStreamInformation(IMediaStreamDescriptor const& descriptor, [Out] NDMediaStreamType & streamType);
public uint GetStreamInformation(IMediaStreamDescriptor descriptor, out NDMediaStreamType streamType);
[Windows.Foundation.Metadata.Deprecated("INDStreamParser is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public uint GetStreamInformation(IMediaStreamDescriptor descriptor, out NDMediaStreamType streamType);
Public Function GetStreamInformation (descriptor As IMediaStreamDescriptor, ByRef streamType As NDMediaStreamType) As UInteger

参数

descriptor
IMediaStreamDescriptor

此方法从中获取信息的媒体流。

streamType
NDMediaStreamType

媒体流的类型。 此类型可以是 “音频”“视频”。

返回

UInt32

unsigned int

uint32_t

媒体流的流标识符。

属性

适用于