View Single Post
Old 6th May 2013, 15:07   #14
DrO
 
Join Date: Sep 2003
Posts: 27,873
streampath is a virtual path / address / mountpoint / channel, whatever it can or should be called.

it's just a way clients, etc access the DNAS for specific things (same as with 50.7.16.114:8000/index.html which isn't a real file on the machine, but something the DNAS generates as needed).

so using streampath=/random (note the / at the start), the listener would be provided 50.7.16.114:8000/random.

but 50.7.16.114:8000/stream/1/ will give the same result of playing stream #1 as accessing 50.7.16.114:8000/random.

really the streampath configuration is just to make it possible to provide nicer urls if wanted, but in most cases it really doesn't matter and can just be ignored. the even better option is to just provide one of the playlist links e.g. 50.7.16.114:8000/listen.m3u?sid=1 or 50.7.16.114:8000/listen.asx?sid=2 (or any of the other supported /listen.* urls) as most players can play them fine - it's only with embedded site players that you then normally need to have the actual stream url.

and this is why i removed references to streampath in the example configurations for whenever a new update mythically happens.
DrO is offline   Reply With Quote