Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Alter/Disable HTTP header for mountpoint(s) and a bug

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Tue May 25, 2010 7:49 pm    Post subject: Alter/Disable HTTP header for mountpoint(s) and a bug Reply with quote

Hello. Is it possible to (forcely) alter or disable the header, sent by Icecast, when a specific mountpoint is requested?

I want to pass via all firewalls, and one way is to alter the header, now if I request http://server:port/stream it sends back the stream with a nice "audio/mpeg" header and the firewall cuts me off Wink
But if I try a shoutcast server for example, when I enforce to get my stream via http://server:port/; it serves back a stream with no header(s) at all.

I know I can alter this via proxy of somekind (web/local/etc), but I want to do this via the config. A good idea is the "<type>" tag and it will be really good if I can set whatever to send header or not and bypass all firewalls Wink (except the really rare firewalls that are set to deny any server that is not sending header).

And last, but not least. I'm using your latest KH build and there is some weird bug on both Windows and Linux, that when a listener is listening, the metadata is not always updated on a song change.

Thanks for the time taken to read this and keep up the good work Wink
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed May 26, 2010 12:38 am    Post subject: Reply with quote

I'm not sure what rules you would expect on that one, if you don't send audio/mpeg then what should you send and for which listeners? It sounds like a way to complicate things. You could try sending audio/ogg!

As for your bug report, I would need more info, like a version, logs etc

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Wed May 26, 2010 1:33 pm    Post subject: Reply with quote

My idea is NOT to send header! Just like a shoutcast server. And I want to do this, because many firewalls block out icecast's streams and don't touch shoutcast ones.

As for the bug, it's on Icecast KH23, and that's all I can see in my error.log:

Code:
[2010-05-19  02:27:50] EROR thread/ lock abort set to 0


I've set the log level to "debug" and will post detailed log soon.
Back to top
View user's profile Send private message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Wed May 26, 2010 8:57 pm    Post subject: Reply with quote

Actually i'm looking at the log and there is nothing weird and a new bug was found. When I specify a fallback mountpoint it works only if the listeners are connected to the stream and the source client disconnects. If a listener connects while the source is disconnected, it serves him a 404 code and not redirecting him to the fallback mount. The logs only confirm that icecast served a 404 error and no errors associated with it.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed May 26, 2010 10:26 pm    Post subject: Reply with quote

That is expected if you don't have a <limit-rate> set on any of the <mount> definitions falling back. The previous behaviour that you are expecting was an issue as the sending of file content was not throttled, with the setting the stream rate is kept sane when falling back.

The latest work is at www.icecast.pwp.blueyonder.co.uk/flv/ The feedback I have had from 23.7 looks to be ok for a kh24 release.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber