VideoEncoder: 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 VideoEncoder 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 đây in kích thước hàng đợi ra console.

js
console.log(VideoEncoder.encodeQueueSize);

Thông số kỹ thuật

Specification
WebCodecs
# dom-videoencoder-encodequeuesize

Tương thích trình duyệt