Skip to content
Function

canEncodeSubtitles

ts
canEncodeSubtitles(
	codec: SubtitleCodec,
): Promise<boolean>;

Checks if the browser is able to encode the given subtitle codec.

See SubtitleCodec.

Released under the Mozilla Public License 2.0.