Skip to content

Commit 04bfd93

Browse files
committed
Allow newly created codecs to be reclaimed if the system is out of resources
1 parent 6fd01eb commit 04bfd93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.src.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -3696,7 +3696,7 @@
36963696
:: The presentation timestamp, given in microseconds. For decode,
36973697
timestamp is copied from the {{EncodedVideoChunk}} corresponding
36983698
to this {{VideoFrame}}. For encode, timestamp is copied to the
3699-
{{EncodedVideoChunk}}s corresponding to this {{VideoFrame}}.
3699+
{{EncodedVideoChunk}}s corresponding to this {{VideoFrame}}.
37003700

37013701
The {{VideoFrame/timestamp}} getter steps are to return
37023702
{{VideoFrame/[[timestamp]]}}.
@@ -6035,7 +6035,8 @@
60356035
received a call to `encode()`, `decode()`, `configure()`, `flush()` or `reset()`
60366036
in the past `10 seconds`, or has called its `output()` callback in the past `10
60376037
seconds`. Addionally, {{VideoEncoder}}s are considered [=active=] if they are
6038-
making progress in encoding queued {{VideoFrame}}s.
6038+
making progress in encoding queued {{VideoFrame}}s. Newly created codecs are not
6039+
considered [=active=] until they call an output callback for the first time.
60396040

60406041
NOTE: Encoding large {{VideoFrame}}s can take more than `10s` per frame. The
60416042
special case for {{VideoEncoder}}s ensures that they are not reclaimed if more

0 commit comments

Comments
 (0)