Skip to main content

Preview track using cookies

GET 

/v0/tracks/:trackId/hls

We recommend using HLS to allow users to play/preview a track. The main benefits of this compared to MP3 are smaller file transfers and alternate qualities, allowing the HLS client library to switch to a lower quality when necessary.

The audio is encoded using the AAC coding standard, which results in a smaller footprint for a similar quality compared to MP3. The primary manifest refers to two variant quality streams. HLS client libraries typically choose the optimal quality automatically, based on download speed.

The format consists of audio files split into smaller chunks and manifests that refer to these audio files. Since the format is made up of multiple files, access to these are controlled using cookies.

We provide an example app for iOS that plays HLS streams. Users do not need to connect their account or have an active Epidemic Sound subscription to play any track using HLS streaming. That allows your users to listen to all tracks before they connect their account.

Request

Path Parameters

    trackId stringrequired

    Track id

Responses

HLS download details for the track

Schema

    url stringrequired

    cookie

    object

    required

    name stringrequired
    domain stringrequired
    path stringrequired
    value stringrequired
    expires stringrequired
Loading...