[Icecast-dev] libshout and mp3 streaming?

Christian Prochnow voltage at c-base.org
Thu Jan 12 10:19:34 PST 2006


Hi List,

i have a problem streaming mp3's to the icecast server via libshout-2.1.
Everything works fine as long as i send ogg's to the icecast server.

libshout as well as icecast do not report any errors. what might be the 
problem?

my code looks like this:

shout_init()
shout_set_host(...)
shout_set_password(...)
shout_set_mount(...)
shout_open()
shout_set_format(...)

while( !feof(infile) )
{
    shout_delay(...)
    shout_send(...)
}


i noticed that when sending ogg's shout_delay() does delay the sending 
.. but with mp3 files it doesnt - the whole file gets streamed to the 
icecast server in a very short period.

thanks in advance.

Regards,
Christian Prochnow



More information about the Icecast-dev mailing list