AudioEncoder: thuộc tính encodeQueueSize
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Dedicated Web Workers.
Thuộc tính chỉ đọc encodeQueueSize của giao diện AudioEncoder trả về số lượng yêu cầu mã hóa đang chờ trong hàng đợi.
Giá trị
Một số nguyên chứa số lượng yêu cầu.
Ví dụ
Ví dụ sau in kích thước của hàng đợi ra console.
js
console.log(AudioEncoder.encodeQueueSize);
Thông số kỹ thuật
| Specification |
|---|
| WebCodecs> # dom-audioencoder-encodequeuesize> |