Skip to content

Commit a2770c1

Browse files
authored
Merge pull request #836 from Djuffin/quota
Allow newly created codecs to be reclaimed if the system is out of resources
2 parents 4bea332 + b5e1d38 commit a2770c1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

index.src.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -6049,14 +6049,10 @@
60496049
an [=active=] or [=inactive=] codec and/or a [=background=] codec.
60506050

60516051
An <dfn lt="active codec|active">active codec</dfn> is a codec that has
6052-
received a call to `encode()`, `decode()`, `configure()`, `flush()` or `reset()`
6053-
in the past `10 seconds`, or has called its `output()` callback in the past `10
6054-
seconds`. Addionally, {{VideoEncoder}}s are considered [=active=] if they are
6055-
making progress in encoding queued {{VideoFrame}}s.
6056-
6057-
NOTE: Encoding large {{VideoFrame}}s can take more than `10s` per frame. The
6058-
special case for {{VideoEncoder}}s ensures that they are not reclaimed if more
6059-
than `10 seconds` elapses between each `output()` callback.
6052+
made progress on the [=[[codec work queue]]=] in the past `10 seconds`.
6053+
6054+
NOTE: A reliable sign of the working queue's progress is a call to `output()`
6055+
callback.
60606056

60616057
An <dfn lt="inactive codec|inactive">inactive codec</dfn> is any codec that does
60626058
not meet the definition of an [=active codec=].

0 commit comments

Comments
 (0)