https://streaming.ibroadcast.com
The streaming server provides audio files via a GET request at the desired bitrate.
The streaming server endpoint is provided in the settings object of any JSON API response.
Requests for media are HTTP GET requests using only the required query parameters.
{
"settings" {
"streaming_server": "https://streaming.ibroadcast.com"
}
}
Building a playback url requires a few pieces of data:
To build a playback url:
[streaming_server]/[url]?Expires=[now]&Signature=[user token]&file_id=[file ID]&user_id=[user ID]&platform=[your app name]&version=[your app version]
An example url populated with the required parameters:
https://streaming.ibroadcast.com/128/d0c/6f4/21127414?Expires=1613690903446&Signature=1b1d15d7-7b89-4b67-be4a-2507a3339ff5&file_id=4567890&user_id=8675309&platform=android&version=7.4.12%20(846)
To change the bitrate, replace 128 at the start of the track url with one of the following: 96, 192, 256, 320, orig
orig will return the file as it was uploaded by the user without any transcoding.
Here is an example url requesting a bitrate of 320 kbps:
https://streaming.ibroadcast.com/320/d0c/6f4/21127414?Expires=1613690903446&Signature=1b1d15d7-7b89-4b67-be4a-2507a3339ff5&file_id=4567890&user_id=8675309&platform=android&version=7.4.12%20(846)