[Icecast-dev] [libshout] Add mime/content-type parameter
Romain Beauxis
toots at rastageeks.org
Sat Sep 20 04:59:48 PDT 2008
Hi all !
While trying to read ogg data from various audio players, it sometimes appear
that the player needs a different mime type than libshout's
default, "application/ogg". For instance, I already saw:
"application/x-ogg";"audio/x-ogg"
Currently, libshout has a built-in Content-Type parameter, that is
set according to the given format integer.
I would like to propose a backward compatible patch that adds a mime
parameter to shout_t and the corresponding set/get functions.
This parameter is set to default values when calling set_format, so the
behaviour is 100% backward compatible, only it adds more flexibility to
libshout.
What do you think ?
Romain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shout_mime_param.patch
Type: text/x-diff
Size: 3586 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20080920/f4069344/attachment.patch
More information about the Icecast-dev
mailing list