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 

xxxxxxxxxxstream.nsv problem with 404 error

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



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Thu Apr 16, 2009 12:42 pm    Post subject: xxxxxxxxxxstream.nsv problem with 404 error Reply with quote

Hi together,

I have a problem with my icecast server.
I am relaying a stream (encoded with darkice) and it is fully available. Unfortunately sometimes a client (sorry I did not manage to replicate this issue) connects to the correct relay-stream, but does not get the stream.
The logfile logs for example the following:

<some IP> - - [16/Apr/2009:14:29:47 +0200] "GET /<Relay-mountpoint>.mp3;43440588749945stream.nsv HTTP/1.1" 404 106 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)" 0

I am interested in the "43440588749945stream.nsv". How do I manage to replicate this entry? How do I manage to get the stream working, when a client connects with this additional parameter? The number seems to be generated, but it always ends with stream.nsv. Where can I get detailed information on this nsv-ending?

Thank you for your effort in advance. Every hint is helpful.

Regards

JohnnyOh
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Apr 16, 2009 1:42 pm    Post subject: Reply with quote

this is provided by the listener, the ; is not for parameters, in http it would be /mountpoint?....

It's not clear what is being asked for either, nsv is not an mp3 stream and I've only seen the ; used as a hack for shoutcast servers. The ; is a valid character in a mountpoint. We cannot provided information about the encoding after the ; as it has nothing to do with us.

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



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Mon Apr 20, 2009 6:56 am    Post subject: Reply with quote

many thanks for your answer and your help.

As I understood right, the clients expect a shoutcast-server, who can handle these xxxxxxxxxx.nsv requests.

Please feel free to contact me by personal message, if someone knows a solution for getting these xxxxx.nsv-streams working on an icecast.

Regards

JohnnyOh
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Apr 20, 2009 12:10 pm    Post subject: Reply with quote

You can work around it in the kh code (see my website). You can put in a wildcard mountpoint eg /*stream.nsv and send auth url "listener_add" requests to a php script which can extract the details you want, authenticate the listener and then send back the extra headers

icecast-auth-user: 1
Mounpoint: /relay.mp3

which will tell icecast to place this listener on that mountpoint.

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



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Tue Apr 21, 2009 7:54 am    Post subject: Reply with quote

sounds good. Many thanks.
Back to top
View user's profile Send private message
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