Yes I have added these lines in "DynamicRTSPServer.cpp" file in mediaServer folder. char DAVSLive555Path[]="/home/waqasdaar/Videos/live555/%s"; char *DAVSStream=NULL; int length=strlen(streamName)+strlen(DAVSLive555Path); DAVSStream=(char*)malloc(sizeof(char)*length); snprintf(DAVSStream,length,DAVSLive555Path,streamName);
FILE* fid = fopen(DAVSStream, "rb"); Boolean fileExists = fid != NULL; Its working now. Can you please tell me if I want to test for live streaming how can I test it. Because until now I have test on demand streaming. Thanks in Advanced. 2009/3/13 Rawling, Stuart <srawl...@pelco.com> > Check out the mediaServer folder in the source tree. This implements an > on demand server which may be all you are needing. > > > On 3/13/09 7:40 AM, "Waqas Daar" <waqasd...@gmail.com> wrote: > > Hi, > > I have downloaded the live555 streaming server and compiled it, it works > perfectly. I want to know how can I change its behavior so that it streams > media files from specific folder where all media files are. currently It > streams files which are in the current directory where live555mediastream > file is. Can you please tell me in detail because I am new in this domain. > > Thanks in Advanced > > > - > ------------------------------------------------------------------------------ > Confidentiality Notice: The information contained in this transmission is > legally privileged and confidential, intended only for the use of the > individual(s) or entities named above. This email and any files transmitted > with it are the property of Pelco. If the reader of this message is not the > intended recipient, or an employee or agent responsible for delivering this > message to the intended recipient, you are hereby notified that any review, > disclosure, copying, distribution, retention, or any action taken or omitted > to be taken in reliance on it is prohibited and may be unlawful. If you > receive this communication in error, please notify us immediately by > telephone call to +1-559-292-1981 or forward the e-mail to > administra...@pelco.com and then permanently delete the e-mail and destroy > all soft and hard copies of the message and any attachments. Thank you for > your cooperation. > - > ------------------------------------------------------------------------------ > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel > > -- With Regards, M. Waqas Ahmad Daar MS Internetworking KTH, Stockholm Sweden. Cell: +46704058221 e-mail: waqasd...@gmail.com d...@kth.se
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel