[Live-devel] Live555 + streaming directory

Waqas Daar waqasdaar at gmail.com
Fri Mar 13 09:11:44 PDT 2009


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 <SRawling at 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" <waqasdaar at 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
> administrator at 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 at 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: waqasdaar at gmail.com
          daar at kth.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090313/450b59a2/attachment.html>


More information about the live-devel mailing list