[Live-devel] [PATCH] Allow streaming from subdirectories

Mike Williams mike at mikebwilliams.com
Wed Jul 27 09:02:32 PDT 2011


Ross,

> If so, then what name do you give to the corresponding "ServerMediaSession"
> object in the server?  "dir1/dir2/foo.ts"?  Or "foo.ts"?   Note that the
> former approach is the only one that would work (otherwise, for example, you
> wouldn't be able to have two separate files named "foo.ts", in separate
> subdirectories).

I pass the whole file path to the DESCRIBE command handler, so it
works with the same file name in two separate sub directories, e.g. I
was testing with test5.ts and testdir/test5.ts and could switch back
and forth from VLC fine without restarting live555MediaServer.

>
> The reason I bring all this up is that this request - to allow intermediate
> "/" characters in "rtsp://" URLs - is one that comes up often, but the issue
> is not quite a simple as it first appears.

Yes, I read the past mails on the list and your responses with links
to the corresponding RFC sections. This patch may need a bit more
testing for odd client corner-cases, but I posted it because it is
fairly unintrusive and "works for me".

Thanks,
Mike



More information about the live-devel mailing list