isConfigSupported static method

JSPromise<VideoDecoderSupport> isConfigSupported(
  1. VideoDecoderConfig config
)

@AvailableInWorkers("window_and_dedicated")

The isConfigSupported() static method of the VideoDecoder interface checks if the given config is supported (that is, if VideoDecoder objects can be successfully configured with the given config).

Implementation

external static JSPromise<VideoDecoderSupport> isConfigSupported(
    VideoDecoderConfig config);