[Live-devel] Changing media directory for vod server
Pushkal Mishra
pushkal.mishra at gmail.com
Tue Jun 19 17:24:25 PDT 2007
Hey Ross, thanks for the quick help.
I made the changes. I can see the server trying the right file, but the
client doesn't see any video stream. I will dig some more and see what am I
missing..
FILE* fid = fopen(strcat(str, streamName), "rb");
.....
sms = createNewSMS(envir(), strcat(str, streamName), fid);
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, June 19, 2007 7:47 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Changing media directory for vod server
>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/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list