@dolbyio/dolbyio-rest-apis-client - v5.1.1
    Preparing search index...

    Function downloadFile

    • Download a media file.

      You can download media you previously uploaded with /media/input or media that was generated through another Dolby Media API.

      The temporary storage should allow you to read and write to the dlb:// locations for a period of at least 24 hours before it is removed.

      Parameters

      • accessToken: JwtToken

        Access token to use for authentication.

      • dlbUrl: string

        The url should be in the form dlb://object-key where the object-key can be any alpha-numeric string. The object-key is unique to your account API Key so there is no risk of collision with other users.

      • filePath: string

        Local file path where to download the file to.

      Returns Promise<void>