AudioData: thuộc tính timestamp
Khả dụng hạn chế
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available in Dedicated Web Workers.
Thuộc tính chỉ đọc timestamp của giao diện AudioData trả về dấu thời gian của đối tượng AudioData này.
Giá trị
Một số nguyên.
Ví dụ
Ví dụ dưới đây in giá trị của timestamp ra console.
js
console.log(AudioData.timestamp);
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| WebCodecs> # dom-audiodata-timestamp> |