共用方式為


INDStreamParser 介面

定義

從 PlayReady-ND 媒體串流剖析資料。

public interface class INDStreamParser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3770327448, 38806, 16841, 134, 149, 89, 67, 126, 103, 230, 106)]
struct INDStreamParser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3770327448, 38806, 16841, 134, 149, 89, 67, 126, 103, 230, 106)]
/// [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")]
struct INDStreamParser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3770327448, 38806, 16841, 134, 149, 89, 67, 126, 103, 230, 106)]
public interface INDStreamParser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3770327448, 38806, 16841, 134, 149, 89, 67, 126, 103, 230, 106)]
[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 interface INDStreamParser
Public Interface INDStreamParser
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Notifier

取得串流剖析器通知,該通知會從傳送器提供串流剖析器事件的通知。

方法

BeginOfStream()

通知 PlayReady-ND 資料流程剖析器準備好開始新的媒體串流。

EndOfStream()

通知 PlayReady-ND 資料流程剖析器已到達媒體資料流程的結尾。

GetStreamInformation(IMediaStreamDescriptor, NDMediaStreamType)

擷取資料流程類型 (音訊或視訊) 和媒體串流描述元的資料流程識別碼。

ParseData(Byte[])

剖析 PlayReady-ND 媒體串流的範例。

適用於