INDStreamParser INDStreamParser INDStreamParser INDStreamParser Interface

Definition

Parses data from a PlayReady-ND media stream.

public : interface INDStreamParserpublic interface INDStreamParserPublic Interface INDStreamParser// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Notifier Notifier Notifier Notifier

Gets the stream parser notifier that will provide notification of stream parser events from the transmitter.

public : NDStreamParserNotifier Notifier { get; }public NDStreamParserNotifier Notifier { get; }Public ReadOnly Property Notifier As NDStreamParserNotifier// You can use this property in JavaScript.

Methods

BeginOfStream() BeginOfStream() BeginOfStream() BeginOfStream()

Notifies a PlayReady-ND stream parser to be ready for the beginning of a new media stream.

public : void BeginOfStream()public void BeginOfStream()Public Function BeginOfStream() As void// You can use this method in JavaScript.

EndOfStream() EndOfStream() EndOfStream() EndOfStream()

Notifies a PlayReady-ND stream parser that the end of a media stream has been reached.

public : void EndOfStream()public void EndOfStream()Public Function EndOfStream() As void// You can use this method in JavaScript.

GetStreamInformation(IMediaStreamDescriptor, NDMediaStreamType) GetStreamInformation(IMediaStreamDescriptor, NDMediaStreamType) GetStreamInformation(IMediaStreamDescriptor, NDMediaStreamType) GetStreamInformation(IMediaStreamDescriptor, NDMediaStreamType)

Retrieves the stream type (audio or video) and stream identifier of the media stream descriptor.

public : unsigned int GetStreamInformation(IMediaStreamDescriptor descriptor, NDMediaStreamType streamType)public uint GetStreamInformation(IMediaStreamDescriptor descriptor, NDMediaStreamType streamType)Public Function GetStreamInformation(descriptor As IMediaStreamDescriptor, streamType As NDMediaStreamType) As uint// You can use this method in JavaScript.
Parameters
descriptor
IMediaStreamDescriptor IMediaStreamDescriptor IMediaStreamDescriptor IMediaStreamDescriptor

The media stream from which this method gets information.

streamType
NDMediaStreamType NDMediaStreamType NDMediaStreamType NDMediaStreamType

The type of the media stream. This type can be either Audio or Video.

Returns
unsigned int uint uint uint

The stream identifier for the media stream.

ParseData(Byte[]) ParseData(Byte[]) ParseData(Byte[]) ParseData(Byte[])

Parses samples from a PlayReady-ND media stream.

public : void ParseData(Byte[] dataBytes)public void ParseData(Byte[] dataBytes)Public Function ParseData(dataBytes As Byte[]) As void// You can use this method in JavaScript.
Parameters
dataBytes
Byte[] Byte[] Byte[] Byte[]

The data to be parsed.