Media Codec
Common audio and video codecs that can be checked against the current platform backend.
Codec support is platform and runtime dependent. Android and web targets query the current runtime where possible, while desktop and iOS expose conservative backend capabilities. Android queries advertised decoders, so passthrough-only audio support can still depend on the active output device and may not be reported here.
Properties
Functions
Returns true when this codec is reported as supported by the current platform backend.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.