View on GitHub

ickstream-docs

Public documentation about the ickStream Music Platform

Set configuration information about the player, this includes:

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "setPlayerConfiguration",
    "params": {
        "playerName": <The name the player should expose over UPnP>,
        "deviceRegistrationToken": <Optional, the device registration token which the player should use when registering itself with ickStream Cloud>
        "cloudCoreUrl": <Optional, the URL to the Cloud Core service which the player should be using>
    }
}

Specific information:

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": {
        "id": <The unique identity of the player>,
        "playerName": <The name the player use when announcing itself over UPnP>
        "playerModel": <The player model identifier, this can be used to identify a certain type of player>
        "userId": <The ickStream user identity which the device belongs to, not defined if the device is not registered yet>

    }
}

Specific information:

Category:Player Protocol