MediaStreamSample.DecodeTimestamp Property

Definition

Gets and sets the decode timestamp for this MediaStreamSample.

public:
 property TimeSpan DecodeTimestamp { TimeSpan get(); void set(TimeSpan value); };
TimeSpan DecodeTimestamp();

void DecodeTimestamp(TimeSpan value);
public System.TimeSpan DecodeTimestamp { get; set; }
var timeSpan = mediaStreamSample.decodeTimestamp;
mediaStreamSample.decodeTimestamp = timeSpan;
Public Property DecodeTimestamp As TimeSpan

Property Value

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.

Applies to