View on GitHub

ickstream-docs

Public documentation about the ickStream Music Platform

The getItemStreamingRef method will return a streaming reference for a specific track or stream.

Note that the getItemStreamingRef method is optional and only have to be supported by a content service if it doesn’t provide streamingRefs attribute in the track/stream objects returned from getItem and findItems methods.

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "getItemStreamingRef",
    "params": {
        "preferredFormats": [ <Optional, list of preferred streaming formats>
            "audio/flac",
            "audio/mpeg"
        ],
        "itemId": < The identity of the item to retrieve >
    }
}

Some important things to notice:

Response:

{
    "jsonrpc": 2.0,
    "id": < Request identity, see JSON-RPC specification for more information >,
    "result": {
        "format": < format of stream, for example "mp3" >,
        "sampleRate": <Optional, sample rate, for example 44100 >,
        "sampleSize": <Optional, sample size, for example 16 >,
        "channels": <Optional, number of channels, for example 2 >,
        "streamFormatInformation": <Optional, additional format information about the
                                    stream, for example aac container type >
        "url": < Url of this streaming reference >
    }
}

Some important things to notice:

Category:Content Access Protocol