attachAsyncRuntime
Creates a runtime that owns codecModule, an asynchronous codec module the page has already instantiated. Use it under a bundler, for the reason attach gives.
A module has one owner. A module that a runtime already owns, also a closed runtime, is refused with IllegalStateException, and so is the module of attach.
Throws
with FFmpegError.Unsupported for a plain kite.mjs, and for a module whose bridge has another version than this library reads.