Encodes on the calling thread: the encode is done when Encode returns, and the promise only carries the result. The fallback of VideoEncodeWorkerHost, and the watcher's default.
Optional
Monotonic millisecond clock for EncodeMs. Default performance.now().
EncodeMs
performance.now()
Readonly
Always in-process.
Encodes one frame now; a frame that cannot be encoded rejects.
Nothing queues and no worker runs.
Encodes on the calling thread: the encode is done when Encode returns, and the promise only carries the result. The fallback of VideoEncodeWorkerHost, and the watcher's default.