Back to Content

AudioData: timestamp property

files/en-us/web/api/audiodata/timestamp/index.md

latest430 B
Original Source

{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The timestamp read-only property of the {{domxref("AudioData")}} interface returns the timestamp of this AudioData object.

Value

An integer.

Examples

The below example prints the value of timestamp to the console.

js
console.log(AudioData.timestamp);

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}