Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The configure()
method of the VideoEncoder
interface changes the state
of the encoder to "configured" and asynchronously prepares the encoder to accept VideoEncoder
s for encoding with the specified parameters. If the encoder doesn't support the specified parameters or can't be initialized for other reasons an error will be reported via the error callback provided to the VideoEncoder
constructor.
If the VideoEncoder
has been previously configured, the new configuration will not be applied until all previous tasks have completed.