Skip to main content

mediaInfoFactory

Callable


  • Creates a MediaInfo instance with the specified options.


    Type parameters

    • TFormat: FormatType = object

      The format type, defaults to object.

    Parameters

    Returns Promise<MediaInfo<TFormat>>

    A promise that resolves to a MediaInfo instance when no callback is provided.