INDStreamParser.GetStreamInformation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索媒体流描述符 (音频或视频) 和流标识符的流类型。
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
媒体流的类型。 此类型可以是 “音频” 或 “视频”。
返回
媒体流的流标识符。
- 属性