MediaStreamSample Properties

MediaStreamSample Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The MediaStreamSample type exposes the following members.

  NameDescription
Public property Attributes Gets a collection of attributes describing to the MediaElement and media pipeline how to render this sample.
Public property Count Gets the number of bytes into the stream where the sample ends.
Public property Duration Gets the duration of the sample.
Public property MediaStreamDescription Gets the description of the stream that this sample came from.
Public property Offset Gets the byte offset into the stream where the sample comes from. For sample streams that contain a header as well, this is set to where the actual sample begins.
Public property Stream Gets the stream of data representing the sample.
Public property Timestamp Gets the time at which a sample should be rendered as measured in 100 nanosecond increments.
Top

Show:
© 2017 Microsoft