isConfigSupported static method

JSPromise<VideoEncoderSupport> isConfigSupported(
  1. VideoEncoderConfig config
)

@AvailableInWorkers("window_and_dedicated")

The isConfigSupported() static method of the VideoEncoder interface checks if VideoEncoder can be successfully configured with the given config.

Implementation

external static JSPromise<VideoEncoderSupport> isConfigSupported(
    VideoEncoderConfig config);