mediaInfoFactory
Callable
Type parameters
- TFormat: FormatType = object
The format type, defaults to
object
.
Parameters
optionaloptions: MediaInfoFactoryOptions<TFormat>
Configuration options for creating the MediaInfo instance.
Returns Promise<MediaInfo<TFormat>>
A promise that resolves to a MediaInfo instance when no callback is provided.
- TFormat: FormatType = object
Creates a MediaInfo instance with the specified options.