getCustomMimeTypeForCodec static method
Implementation
static String? getCustomMimeTypeForCodec(String codec) {
for (final customMimeType in _customMimeTypes) {
if (codec.startsWith(customMimeType.codecPrefix)) {
return customMimeType.mimeType;
}
}
return null;
}