[Live-devel] RTSP customization

Ross Finlayson finlayson at live555.com
Wed Aug 23 19:16:31 PDT 2006


>"You can add new "ServerMediaSession" objects to (or remove existing
>"ServerMediaSession" objects from) a running RTSPServer at any time.

Correct.

>Actually, there is no problem to schedule a task for listing the directory,
>looking for newly appeared / removed files and updating ServerMediaSession
>table in run time, but this idea has several disadvantages (for example, if
>there are 1000 new files in the directory, but the client will ask for only
>one, it is not necessary to list all of them).

Nonetheless, this is the easiest approach, because it does not 
require modifying any existing code.

The current server implementation assumes that "ServerMediaSession" 
objects are stored in a hash table, indexed by the string name 
contained within a RTSP "DESCRIBE" command.  If you want to do 
something different - e.g., do a file system lookup, and create the 
"ServerMediaSession" on demand, iff the file is present - then you 
will need to modify the code.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list