AudioEncoder:encodeQueueSize 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
备注: 此特性在专用 Web Worker 中可用。
AudioEncoder
接口的只读属性 encodeQueueSize
返回队列中待处理的编码请求的数量。
值
一个整数,包含请求的数量。
示例
以下示例将队列的大小打印到控制台。
js
console.log(AudioEncoder.encodeQueueSize);
规范
Specification |
---|
WebCodecs> # dom-audioencoder-encodequeuesize> |
浏览器兼容性
Loading…