Centova Technologies Forum

Centova Cast v2 => Technical discussion => Topic started by: hekiw on April 28, 2020, 03:39:42 am

Title: Json - Stream Details widget doesn't update in real time
Post by: hekiw on April 28, 2020, 03:39:42 am
Hello crew,
after asking on my provider support and consulting some documentation, i still don't know how to update the song info in real time.. As far as i saw, the information is updated each 60 seconds but it seems insufficient and could definitely be improved with a real time information. I'm working on my own player and would like it to listen or receive information from the server each time there is a change or, be able to retrieve the current song duration time, so the transition could be timed using that value as reference. Already tried a few things but found nothing.. Even the provided solutions I've found only update each minute which might well mean this is a default set I cannot change.

Does anyone have any info i can use to pass through this?

Is there any websocket in the API i can use to get this info in real time? Or any way i can get the song duration?
Trying to implement this using  Json and any info is more than welcome! Thanks in advance.