At 11:23 31/01/2007, you wrote:
><http://www0.rdthdo.bbc.co.uk/cgi-perl/api/query.pl?method=bbc.channel.getLocations&channel_id=BBCROne&format=simple>http://www0.rdthdo.bbc.co.uk/cgi-perl/api/query.pl?method=bbc.channel.getLocations&channel_id=BBCROne&format=simple
>
>...defines
>real-audio
>multicast-real
>multicast-aac
>...as location types.
>
>Virgin Radio will support this API shortly; but we need additional audio
>formats for this - possibly looking like the below.
>windows-media
>multicast-wmp
>streaming-mp3
>aac-plus
>ogg-vorbis
>...what are the actual definitions here?
>
>Secondly, we also need to specify speeds (our windows-media and ogg-vorbis
>variants are in two separate speeds). What is the best way to define the
>bitrate speed? Should we add <bitrate>20</bitrate> into the API, or is there a
>nicer way of doing it?
James,
The original intention was to express something simple and informative but
there wasn't much time to think about the detail. It would probably benefit
from some more thought.
Bit-rate is a good idea. Another thing we could consider is separating content
from transport details, allowing the use of standard MIME types. How about:
<location>
<type>audio/mpeg</type> (MIME type)
<bitrate>128</bitrate> (kbps)
<network>multicast<network> (unicast | multicast | dvb)
<url>rtsp://bbc.co.uk....</url>
</location>
Thoughts anyone?
Chris
_______________________
Chris Newell
Lead Technologist
BBC Research
Kingswood Warren
Tel: +44 (0)1737 839659