[Live-devel] Changing media directory for vod server

Ross Finlayson finlayson at live555.com
Tue Jun 19 16:46:44 PDT 2007


>Hi,
>
>Currently, our live555 vod server is playing TS assets out of current
>directory. Instead can we pull vod assets from any particular directory? If
>so, can you please point us to the file where we can make the change? I plan
>to use a getenv( ) call to get our vod library path, but not sure where to
>make the code change yet.

You could do this in the implementation of 
"DynamicRTSPServer::lookupServerMediaSession()":
1/ Prepend the new directory name to "streamName", before caling "fopen()", and
2/ Prepend the new directory name to "streamName", before caling 
"createNewSMS()".
-- 

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


More information about the live-devel mailing list