File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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]]}}.
60326032an [=active=] or [=inactive=] codec and/or a [=background=] codec.
60336033
60346034An < dfn lt ="active codec|active "> active codec</ dfn > is a codec that has
6035- received a call to `encode()`, `decode()`, `configure()`, `flush()` or `reset()`
6036- in the past `10 seconds`, or has called its `output()` callback in the past `10
6037- seconds`. Addionally, {{VideoEncoder}}s are considered [=active=] if they are
6038- making progress in encoding queued {{VideoFrame}}s.
6039-
6040- NOTE: Encoding large {{VideoFrame}}s can take more than `10s` per frame. The
6041- special case for {{VideoEncoder}}s ensures that they are not reclaimed if more
6042- than `10 seconds` elapses between each `output()` callback.
6035+ made progress on the [=[[codec work queue]]=] in the past `10 seconds`.
6036+
6037+ NOTE: A reliable sign of the working queue's progress is a call to `output()`
6038+ callback.
60436039
60446040An < dfn lt ="inactive codec|inactive "> inactive codec</ dfn > is any codec that does
60456041not meet the definition of an [=active codec=].
You can’t perform that action at this time.
0 commit comments