[Live-devel] playing files not in the current directory

Josh Norell josh at kci.net
Tue Mar 18 15:40:58 PDT 2008


On Tue, 2008-03-18 at 15:16 -0700, Ross Finlayson wrote:
> >  > > I'm using live555MediaServer to do some RTSP streaming, but it's not
> >>  > apparent to me how, or if you can, play files that arn't in the current
> >>  > directory. eg. live555MediaServer is running in /dirA, but I want to
> >>  > play /dirA/dirB/dirC/video.ts.
> >>
> >>
> >>  > Can this be done, and if so what do I need to do?
> >>
> >>  simlinks
> >>
> >>  cd  /dirA
> >>  find /dirA/dirB/dirC/*.ts | xargs -i ln -s {} .
> >>
> >
> >The client must request "/dirA/dirB/dirC/video.ts" so this won't work.
> 
> No, symbolic links (in the same directory as the "live555MediaServer" 
> application) will work.

Sorry if I wasn't clear...

Symbolic links would work if I could get the client to request
"rtsp://server/video.ts", but it is requesting
"rtsp://server/dirA/dirB/dirC/video.ts" and I don't have any way to
change what it requests.

Josh



More information about the live-devel mailing list