[Icecast-dev] Problem with some ogg players when using apache 2.0 as a proxy in front of icecast

Iceuse - Kris iceuse at bzhtec.com
Wed May 31 13:03:16 PDT 2006


Hello,

in order to be able to use the same stream name for different radios, 
with only one IP available, and wish to use only port 80, I'm obliged to 
use an apache2 server to split the request according to the virtual host 
name.

Then, on the server, I have multiple instance of icecast running on 
different port numbers (10010 10011, ...).
One virtual host config:

NameVirtualHost myradio1
<VirtualHost myradio1>
        ServerAdmin webmaster at localhost

        ErrorLog /var/log/apache2/myradio1.error.log

        # Possible values include: debug, info, notice, warn, error, 
crit, alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/myradio1.access.log combined
        ServerSignature Off

       <Proxy *>
               Order deny,allow
               Allow from all
       </Proxy>

       ProxyPass / http://localhost:10010/
</VirtualHost>


This is working fine with many players (VLC, streamtranscoder, probably 
some others)), but not with jorbis based players.

The reason is that the player receives an incorrect first paquet (26 
bytes), so no page is found and it restarts reading the stream (open url 
again).
I have changed the player to retry and it's working fine.

But the problem is many users are using a player I made, based on 
jorbis. It will be difficult to ask them to redownload a new version.

Has one of you an idea of what may cause this problem ? A packet is 
splitted and should not be.

(Note: if I access the stream directly with his port 10010, the player 
is working).

Thanks for advices...

Chris


More information about the Icecast-dev mailing list