[Icecast-dev] libshout: Streaming MPEG Audio Layer 2
Brendan Cully
brendan at xiph.org
Fri Aug 4 14:13:43 PDT 2006
Thanks, I've applied this change. It'll be in the next release
(whenever that may be).
On Thursday, 20 July 2006 at 17:18, Nicholas J Humfrey wrote:
> Hi,
>
> I have been trying to stream MPEG Audio Layer 2 using libshout in my
> dvbshout program:
> http://www.ecs.soton.ac.uk/~njh/dvbshout/
>
>
> However I have been using the shout_send_raw() API call because the
> MPEG audio header parser rejects audio that isn't Layer 3. Streaming
> layer 2 works in exactly the same way as Layer 3 and without any
> problems.
>
> Would it be possible to get src/mp3.c changed so that it accepts
> other layers?
>
>
> From (line 299):
>
> /* check for the right layer */
> if (mh->layer != 2)
> return 0;
>
> To:
>
> /* check that layer is valid */
> if (mh->layer == 0)
> return 0;
>
> http://www.mp3-tech.org/programmer/frame_header.html
>
>
>
> Thanks,
>
> nick.
>
>
>
> _______________________________________________
> Icecast-dev mailing list
> Icecast-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast-dev
More information about the Icecast-dev
mailing list