Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/api/audioencoder/encodequeuesize/index.md
6516 views
---
title: AudioEncoder.encodeQueueSize slug: Web/API/AudioEncoder/encodeQueueSize page-type: web-api-instance-property status: - experimental browser-compat: api.AudioEncoder.encodeQueueSize
---

{{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.

console.log(AudioEncoder.encodeQueueSize);

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}