Subscription streaming - offline (HTTP Progressive)

This endpoint should only be used when a given device is actively connected to the Internet. For local caching in bulk, to be used for offline plays, see Stream to subscriber - offline. Tracks can be cached (in an encrypted format) on the end user's device, but all plays from either the cache or live must be reported with the user/subscription/log endpoint.

When the clientId parameter is supplied, multiple devices will not be allowed to stream concurrently. Device A can start streaming, but if Device B starts, Device A will finish its current track then be blocked from playing again for a short time period. After that time period, Device A can play again, and Device B will become blocked.

OAuth User token

Example request

GET https://stream.svc.7digital.net/offline/subscription?country=US&userid=1234&trackid=123456&formatid=??&clientId=123

Example Response

HTTP/1.1 200 OK
Date: Thu, 19 Nov 2023 11:27:47 GMT
Content-Length: 7256280
Content-Type: audio/mpeg

Specific Errors Codes

  • 1001 - Error: Missing "parameter name" query parameter. Not all mandatory parameters were specified in the request.
  • 1002 - Invalid value for "parameter name": parameter value. Value for parameter in error message is not valid.
  • 2001 - Track not found. This track isn't available for streaming in your country.
  • 2002 - Pre-release or subscription availability. Either the user does not have a valid subscription account with us, or the track is not available for streaming (note that streaming release dates may differ from download or catalogue streaming release dates).
Query Params
string
required

The unique identifier of the user. For information on creating users click here.

int32
required

The MassiveMusic ID of the track to be streamed.

int32
required

The MassiveMusic ID of the format requested. For information on supported streaming formats click here.

string
required

A unique identifier for the current device streaming the track. Generally a music label requirement, this will allow us to block multiple devices from streaming on the same user account (see above for more information).

string
required

ISO 2-character code of the country the end user resides in.

Headers
string

Specify the byte range to be returned.

Language
LoadingLoading…