Re: Radio player for FirefoxOS
"Thomas B. Rücker" <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 05/22/2013 01:07 PM, "Thomas B. Rücker" wrote: > Hi, > > On 05/22/2013 12:57 PM, Assen Totin wrote: >> Hi, Emilis, >> >> I have two working Icecast players which implement client-side >> parsing of yp.xml and searching then through it: [...] > > The idea is to finally offer a better API towards the data. Also to > reduce the bandwidth usage. The XML file causes a LOT of traffic, > especially as many clients don't implement HTTP compression. :-( > This is also bad for users as they have to wait longer for: > - a large download (700k compressed, 7MByte uncompressed) > - parsing of the full XML file > > Whereas this could be broken down into only delivering the necessary > data. More requests, less total transfer volume. I've cobbled together something. For now there is only the JSON version of the full XML output. http://api.dir.xiph.org/experimental/full Note, that I will change the output without notice, but will increment the API-revision HTTP header. Also in case I add more experimental queries, they'll be listed automatically at: http://api.dir.xiph.org/experimental/ Notes / known problems: - UTF-8 is broken, badly (this is a problem in the legacy code which is on my TODO list, for now please ignore the ugliness, or send patches for the YP code) - Each stream URL is listed separately for clusters - I'll try to return them as an array in the URL field instead - clustering doesn't work reliably, this is a legacy code limitation for the whole YP and on TODO Cheers Thomas _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev