[xiph-cvs] cvs commit: libshout/src shout.c util.c util.h
Jack Moffitt
jack at xiph.org
Sat Feb 22 14:38:57 PST 2003
> Send ice-audio-info header in HTTP protocol, instead of ice-bitrate.
> This header is encoded like the query part of a GET request, eg
> ice-audio-info: bitrate=128&samplerate=44100&channels=2
>
> Oddsock, knock yourself out. :)
Why encode it like an HTTP request? That seems a bit silly to me.
Normally RFC822 (i think that's the correct one) type fields are
delimited by semicolons or commas. I'd suggest looking at RTSP and/or
RTP docs and see how they do this. My recollection is that it's
something like:
ice-audio-info: bitrate=128; samplerate=44100; channels=2
which is a lot more human friendly, and only slightly more difficult to
parse.
Just my two cents :)
jack.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list