Path: blob/main/files/en-us/web/api/audioencoder/encodequeuesize/index.md
6516 views
------{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
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.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}