| View previous topic :: View next topic |
| Author |
Message |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Thu Apr 16, 2009 12:42 pm Post subject: xxxxxxxxxxstream.nsv problem with 404 error |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Apr 16, 2009 1:42 pm Post subject: |
|
|
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 |
|
 |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Mon Apr 20, 2009 6:56 am Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Apr 20, 2009 12:10 pm Post subject: |
|
|
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 |
|
 |
JohnnyOh
Joined: 10 Feb 2009 Posts: 50 Location: Germany
|
Posted: Tue Apr 21, 2009 7:54 am Post subject: |
|
|
| sounds good. Many thanks. |
|
| Back to top |
|
 |
|