Romain Beauxis
2008-Sep-22 16:40 UTC
[Icecast-dev] [libshout] Add mime/content-type parameter
Hi ! Le Monday 22 September 2008 18:32:57 Ivo Emanuel Gon?alves, vous avez ?crit?:> It seems like a fine patch, but you need to revise it because > video/ogg and audio/ogg are registered media types for Ogg streams > too. ?This, of course, is something recent, so don't blame yourself if > you haven't heard.Thanks for the review ! I don't get where the patch should be changed ? The default mime value for ogg streams ? Romain
Ivo Emanuel Gonçalves
2008-Sep-22 16:48 UTC
[Icecast-dev] [libshout] Add mime/content-type parameter
On 9/22/08, Romain Beauxis <toots at rastageeks.org> wrote:> I don't get where the patch should be changed ? The default mime value for > ogg streams ?Yep. Any of the three media types should be allowed. There is simply no "default mime" anymore. application/ogg is now for applications and (very) complex multimedia. video/ogg is for video and audio, say films. audio/ogg is for anything audio, be it Vorbis, Speex, FLAC, whatever. If libshout can only do audio (I thought it could do video too, but apparently I'm wrong) the default should be audio/ogg, with application/ogg available as a legacy option for a couple of years until all software updates to use audio/ogg exclusively. -Ivo
Romain Beauxis
2008-Sep-22 17:04 UTC
[Icecast-dev] [libshout] Add mime/content-type parameter
Le Monday 22 September 2008 18:48:34 Ivo Emanuel Gon?alves, vous avez ?crit?:> On 9/22/08, Romain Beauxis <toots at rastageeks.org> wrote: > > I don't get where the patch should be changed ? The default mime value > > for ogg streams ? > > Yep. ?Any of the three media types should be allowed. ?There is simply > no "default mime" anymore. > > application/ogg is now for applications and (very) complex multimedia. > video/ogg is for video and audio, say films. > audio/ogg is for anything audio, be it Vorbis, Speex, FLAC, whatever. > > If libshout can only do audio (I thought it could do video too, but > apparently I'm wrong)I believe it can.> the default should be audio/ogg, with > application/ogg available as a legacy option for a couple of years > until all software updates to use audio/ogg exclusively.Humm.. So default mime would remain "application/ogg", but "audio/ogg" and "video/ogg" should be documented, right ? It is also be possible to add new formats, which would be: * SHOUT_FORMAT_OGG_AUDIO * SHOUT_FORMAT_OGG_VIDEO with the corresponding default mimes... (I don't like this since the formats no longer have the same semantics) This could Romain