Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSample.DecodeTimestamp | decodeTimestamp property

Applies to Windows and Windows Phone

Gets and sets the decode timestamp for this MediaStreamSample.

Syntax


var decodeTimestamp = mediaStreamSample.decodeTimestamp;
mediaStreamSample.decodeTimestamp = decodeTimestamp;

Property value

Type: Number [JavaScript] | System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The decode timestamp.

Remarks

The default value of DecodeTimestamp is the same value as the Timestamp property on the MediaStreamSample object. Certain media formats may require the DecodeTimestamp property to be assigned a value that is different from the presentation timestamp given by the Timestamp property, but for most formats the two properties will be the same.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSample

 

 

Show:
© 2014 Microsoft