AudioEncoder: encodeQueueSize property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}
The **encodeQueueSize** read-only property of the {{domxref("AudioEncoder")}} interface returns the number of pending encode requests in the queue.
Value
An integer containing the number of requests.
Examples
The following example prints the size of the queue to the console.
js
console.log(AudioEncoder.encodeQueueSize);Specifications
{{Specifications}}
Browser compatibility
{{Compat}}