<span class="Apple-style-span" style="font-family: verdana, sans-serif;">Yes I have added these lines in &quot;DynamicRTSPServer.cpp&quot; file in mediaServer  folder.</span><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br>
</span><div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  char  DAVSLive555Path[]=&quot;/home/waqasdaar/Videos/live555/%s&quot;;</span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  char *DAVSStream=NULL;</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  int length=strlen(streamName)+strlen(DAVSLive555Path);</span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  DAVSStream=(char*)malloc(sizeof(char)*length);</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  snprintf(DAVSStream,length,DAVSLive555Path,streamName);</span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br>
</span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  FILE* fid = fopen(DAVSStream, &quot;rb&quot;);</span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">  Boolean fileExists = fid != NULL;</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"> 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. </span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"> Thanks in Advanced.</span></div><div> <br><div class="gmail_quote">
2009/3/13 Rawling, Stuart <span dir="ltr">&lt;<a href="mailto:SRawling@pelco.com">SRawling@pelco.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Check out the mediaServer folder in the source tree.  This implements an on demand server which may be all you are needing.<div class="im"><br>

<br>
<br>
On 3/13/09 7:40 AM, &quot;Waqas Daar&quot; &lt;<a href="http://waqasdaar@gmail.com" target="_blank">waqasdaar@gmail.com</a>&gt; wrote:<br>
<br>
</div></span></font><div class="im"><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hi, <br>
<br>
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. <br>

<br>
Thanks in Advanced<br>
</span></font></blockquote>

<br></div>
- ------------------------------------------------------------------------------<br>
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 <a href="mailto:administrator@pelco.com" target="_blank">administrator@pelco.com</a> 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. <br>

- ------------------------------------------------------------------------------<br>
</div>


<br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>With Regards,<br>M. Waqas Ahmad Daar<br>MS Internetworking<br>KTH, Stockholm Sweden.<br>Cell: +46704058221<br>e-mail: <a href="mailto:waqasdaar@gmail.com">waqasdaar@gmail.com</a><br>
           <a href="mailto:daar@kth.se">daar@kth.se</a><br>
</div></div>