()
| 262 | } |
| 263 | |
| 264 | private decrementQueue() { |
| 265 | this._decodeQueueSize = Math.max(this._decodeQueueSize - 1, 0); |
| 266 | |
| 267 | // Spec 4.6: Schedule Dequeue Event |
| 268 | queueMicrotask(() => { |
| 269 | const event = new Event('dequeue'); |
| 270 | this.ondequeue?.bind(this)(event); |
| 271 | this.dispatchEvent(event); |
| 272 | }); |
| 273 | } |
| 274 | |
| 275 | private async decodeInternal(chunk: EncodedVideoChunk) { |
| 276 | const currentConfigId = this.currentConfigId; |
no outgoing calls
no test coverage detected