<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<base href="x-msg://205/">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thank you Ross,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I could get through and the solution for empty files also
worked. Thank you.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>One more point, during compilation after the below stated problem
there was one more similar error with RTSPCommon.cpp (in LiveMedia only) at
line# 178 (given below). I did comment (highlighted) that also to get through.
I am not sure how this will impact openRTSP.exe! Where would I get the proper
header & library files from? I followed all the instructions in order.
Should I copy any from Borland C to livemedia directory and recompile? I didn’t
get such errors in any other module!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'>Boolean parseRangeHeader(<span style='color:blue'>char</span>
<span style='color:blue'>const</span>* buf, <span style='color:blue'>double</span>&
rangeStart, <span style='color:blue'>double</span>& rangeEnd) {<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'>  <span style='color:green'>// First, find
"Range:"</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'>  <span style='color:blue'>while</span> (1) {<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'>    <span style='color:blue'>if</span>
(*buf == <span style='color:#A31515'>'\0'</span>) <span style='color:blue'>return</span>
False; <span style='color:green'>// not found</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:red;background:yellow;mso-highlight:yellow'>//   
if (_strncasecmp(buf, "Range: ", 7) == 0) break;</span><span
style='font-size:9.5pt;font-family:Consolas;color:red'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'>    ++buf;<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanking You,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sanjeeva Reddy<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><img width=64 height=51 id="Picture_x0020_1"
src="cid:image002.jpg@01CC83B6.7A3EBC00" alt="Sreesaila - Logo 400X320- Final"></span><span
lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sreesaila Networks Pvt. Ltd. ¦ Ph: +91 40 23076655
¦ Mobile: +91 9000616655 ¦ Website: <a
href="http://www.sreesaila.com">www.sreesaila.com</a></span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <b>On Behalf Of </b>Ross Finlayson<br>
<b>Sent:</b> Wednesday, October 05, 2011 8:15 PM<br>
<b>To:</b> LIVE555 Streaming Media - development & use<br>
<b>Subject:</b> Re: [Live-devel] Using openRTSP in a script / batch file<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Everything
was ok, but for in LiveMedia compiling (highlighted below). Error messages were
“undefined function ‘_lseek64’ in ‘SeekFIle64’
function”  and “undefined function ‘_telli64’ in
‘Tellifile64’ function”<o:p></o:p></span></p>

</div>

</div>

</blockquote>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<p class=MsoNormal>You should try to fix this properly.  You're apparently
missing the proper header file(s) (and perhaps libraries) that define these
functions.  Without these functions, you might be able to get away with
using "openRTSP" (because it doesn't seek within files), but other
applications might not work.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>However,
both files are of 0 bytes and the info from QOS output is showing 100% packet
loss (0 received and all packets loss)<o:p></o:p></span></p>

</div>

</div>

</blockquote>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

<p class=MsoNormal>See<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span class=apple-tab-span>            </span><a
href="http://www.live555.com/liveMedia/faq.html#openRTSP-empty-files">http://www.live555.com/liveMedia/faq.html#openRTSP-empty-files</a><o:p></o:p></p>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif";color:black'>Ross Finlayson</span></span><span
style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black'><br>
<span class=apple-style-span>Live Networks, Inc.</span><br>
<span class=apple-style-span>http://www.live555.com/</span></span> <o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</body>

</html>