subscribeToStreamConfig
Subscribes to the streaming configuration data. Returns stream-related fields needed for client setup
Documentation
Try it now
Request parameters:
The method works without parameters
Call example:
subscribeToStreamConfig({
command: 'get',
params: {
source: 'notifications',
what: {
partner_streams: []
},
subscribe: true
},
rid: 123456789
})Response examples:
{
code: 0,
data: {
result: 0,
result_text: null,
stream_configs: {
stream_1: [{
sport_id: 1,
video_id: 78432,
asset_id: 55201,
provider_id: 3
}, {
sport_id: 2,
video_id: 78433,
asset_id: 55202,
provider_id: 3
}],
stream_2: [{
sport_id: 5,
video_id: 78434,
asset_id: 55203,
provider_id: 4
}]
}
},
rid: 123456789
}