Optional ReadonlyappOptional ReadonlyauthIf set, customer.oAuthTokenProvider will be considered optional for
DMLS services that require authentication.
This should provide true, or () => Promise<true> to indicate that
the cookie is fresh and ready to use.
ReadonlyclientClient metadata. E.g. { clientId: 'WebCP' } for web player.
Optional ReadonlycsrfProvides a promise to the csrf token.
Optional ReadonlycustomerThe currently authenticated customer. Note: setting DMLS options without a customer will cause asin and coid tracks to fail. If customer entitlement and auth is async, do not set dmls options until the customer options are ready.
ReadonlydeviceDevice type id and device id.
Optional ReadonlyenableIf true, Dash requests will use the musicDashVersionList SIREN_KATANA, which will include Flac and Opus assets. This must be true to enable HD. Default: true
Optional ReadonlyfirefoxIf true, Firefox will request media with clear lead: SIREN_KATANA
If false (default), Firefox will request: SIREN_KATANA_NO_CLEAR_LEAD.
Firefox could not decode Opus with clear lead due to
https://bugzilla.mozilla.org/show_bug.cgi?id=1762980
While this bug hasn't been closed, the issue is no longer reproducible
with Firefox 130
ReadonlyhostThe host of the DMLS server. E.g. https://music.amazon.com
ReadonlymarketplaceThe marketplaceId, retrieved from Stratus. E.g. 'ATVPDKIKX0DER'
ReadonlymusicThe music territory, retrieved from Stratus. E.g. 'US'
Application metadata (optional).