<div>Hi Ishwar,</div>
<div> </div>
<div>Thanks a lot for your suggestions.</div>
<div> </div>
<div>I&#39;m not facing any issues with the code<font color="#ff0000">  if (errno != EINTR &amp;&amp; errno != EAGAIN) { </font>as i&#39;m using WinCE 6.0. (I guess WinCE 6.0 adresses this issue).</div>
<div>Secondly GetSystemTime() function is used in 2 files i.e 1&gt;Groupsockhelper.cpp and RTSPServer.cpp. In both the cases it is conditional compilation based on _WIN32_WCE flag. I have defined this in both the files and i hope this sould be working fine.</div>

<div>Anyways, i will try debugging this.</div>
<div>You can please send me your VCP files. This would help me to compare with mine and find out if i&#39;m missing something.</div>
<div>Please suggest what all other changes you have made to the code apart from the one&#39;s you have mentioned below.</div>
<div> </div>
<div>Thanks a lot.</div>
<div><br><br><br> </div>
<div class="gmail_quote">On Thu, Jun 18, 2009 at 11:25 PM, <span dir="ltr">&lt;<a href="mailto:Ishwar.Jasuja@jci.com">Ishwar.Jasuja@jci.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face="sans-serif" size="2">Seems to be working fine for me.. I downloaded latest tarball today morning, compiled and verified.</font> <br>
<font face="sans-serif" size="2">If you want, I can send you .vcp files that have.</font> <br><br><font face="sans-serif" size="2">Only change I had to make was this line 83 in BasicTaskScheduler.cpp file</font> <br><font face="sans-serif" color="red" size="2">    if (errno != EINTR &amp;&amp; errno != EAGAIN) {</font> <br>
<font face="sans-serif" size="2">To </font><br><font face="sans-serif" color="#008000" size="2">    if (err != 0) </font><br><br><font face="sans-serif" size="2">WINCE for some reason, cannot find EINTR. Could be because I am running older version of WINCE (4.2 or 5.0). Never bothered to investigate this.</font> <br>
<br><font face="sans-serif" size="2">You may want to verify if GetSystemTime() function is working correctly on your platform. This is very critical for the timers to function right.</font> <br><br><font face="sans-serif" size="2">Ishwar</font> <br>
<br><br><br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="40%">
<div class="im"><font face="sans-serif" size="1"><b>siyara nt &lt;<a href="mailto:tech.siya@gmail.com" target="_blank">tech.siya@gmail.com</a>&gt;</b> </font><br><font face="sans-serif" size="1">Sent by: <a href="mailto:live-devel-bounces@ns.live555.com" target="_blank">live-devel-bounces@ns.live555.com</a></font> </div>

<p><font face="sans-serif" size="1">06/17/2009 11:28 PM</font> 
<div class="im">
<table border="1">
<tbody>
<tr valign="top">
<td bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>LIVE555 Streaming Media - development &amp; use        &lt;<a href="mailto:live-devel@ns.live555.com" target="_blank">live-devel@ns.live555.com</a>&gt;</font></div>
</td></tr></tbody></table><br></div>
<td width="59%">
<table width="100%">
<tbody>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">To</font></div>
<td>
<div class="im"><font face="sans-serif" size="1">&quot;LIVE555 Streaming Media - development &amp; use&quot; &lt;<a href="mailto:live-devel@ns.live555.com" target="_blank">live-devel@ns.live555.com</a>&gt;</font> </div>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
<td>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
<td><font face="sans-serif" size="1">Re: [Live-devel] Live555 build on WinCE 6.0 fileno returns void *</font></td></td></tr></td></td></tr></td></td></tr></tbody></table><br>
<table>
<tbody>
<tr valign="top">
<td>
<td></td></td></tr></tbody></table><br></td>
<td><p></p></td></p></td></tr></tbody></table>
<div>
<div></div>
<div class="h5"><br><br><br><font size="3">Hi Ishwar,</font> <br><font size="3"> </font> <br><font size="3">Thanks a lot for your input. After declaring READ_FROM_FILES_SYNCHRONOUSLY  in my porject, the livemedia library built properly. Now i&#39;m able to build and run testondemandRTSPstreamer.exe on my WinCE ARM(DM355) target board but when i connect using VLC it is not showing any video. I&#39;m using a test.m4e file to stream video using testondemandRTSPserver.exe and this works properly on windows XP platform.(I have appended the VOS and VOSS headers to test.m4e to make it suitable to stream from DM355 target board. This i checked on Windows and it is streaming properly).</font> <br>
<font size="3"> </font> <br><font size="3">The following is the testondemandRTSPstreamer.exe output messages</font> <br><font size="3">------------------------------------------------------------------------------------------------------------</font> <br>
<font size="3">&quot;s1&quot; stream, from the file </font><font color="#a31515" size="2">&quot;\\Storage Card\\test.m4e&quot;p</font><font size="3">lay this stream using the URL &quot;rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&quot;<br>
eetaram:File open successful2c:\test.m4e<br>MPEG4VideoStreamParser::parseVisualObject(): Warning: We don&#39;t handle visual_obj<br>ct_type 0<br>eetaram:File open successful2c:\test.m4e<br>RAM: File open success<br>RAM: file size  (7169851)  !<br>
PEG4VideoStreamParser::parseVisualObject(): Warning: We don&#39;t handle visual_obj<br>ct_type 0</font> <br><font size="3">(I have changed the file path and stream name to s1 for convinience)</font> <br><font size="3"> My test.m4e is stored in SD card in the DM355 target.</font> <br>
<font size="3"> </font> <br><font size="3">Here is the VLC message log</font> <br><font size="3">------------------------------------------------</font> <br><font size="2">main info: Running vlc with the default interface. Use &#39;cvlc&#39; to use vlc without interface.</font> 
<p><font size="3">main debug: starting new item</font> 
<p><font size="3">main debug: processing request item rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3"> node Playlist skip 0</font> 
<p><font size="3">main debug: resyncing on rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a> 
<p><font size="3">main debug: rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3"> is at 0</font> 
<p><font size="3">main debug: creating new input thread</font> 
<p><font size="3">main debug: Creating an input for &#39;rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&#39;</font> 
<p><font size="3">main debug: waiting for thread initialization</font> 
<p><font size="3">main debug: thread started</font> 
<p><font size="3">main debug: thread 5508 (input) created at priority 1 (../../src/input/input.c:370)</font> 
<p><font size="3">main debug: `rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&#39; gives access `rtsp&#39; demux `&#39; path `</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&#39;</font> 
<p><font size="3">qt4 debug: Updating the stream status: 3</font> 
<p><font size="3">main debug: creating demux: access=&#39;rtsp&#39; demux=&#39;&#39; path=&#39;</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&#39;</font> 
<p><font size="3">main debug: looking for access_demux module: 1 candidate</font> 
<p><font size="3">live555 debug: RTP subsession &#39;video/MP4V-ES&#39;</font> 
<p><font size="3">main debug: selecting program id=0</font> 
<p><font size="3">qt4 debug: New Event: type 1108</font> 
<p><font size="3">live555 debug: setup start: 0 stop:0</font> 
<p><font size="3">live555 debug: We have a timeout of 60 seconds</font> 
<p><font size="3">main debug: waiting for thread initialization</font> 
<p><font size="3">main debug: thread started</font> 
<p><font size="3">main debug: thread 5668 (liveMedia-timeout) created at priority 0 (../../../modules/demux/live555.cpp:1055)</font> 
<p><font size="3">live555 debug: spawned timeout thread</font> 
<p><font size="3">live555 debug: play start: 0 stop:0</font> 
<p><font size="3">main debug: using access_demux module &quot;live555&quot;</font> 
<p><font size="3">main debug: TIMER module_Need() : 164.000 ms - Total 164.000 ms / 1 intvls (Avg 164.000 ms)</font> 
<p><font size="3">main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\</font> 
<p><font size="3">main debug: looking for decoder module: 34 candidates</font> 
<p><font size="3">avcodec debug: libavcodec already initialized</font> 
<p><font size="3">avcodec debug: using direct rendering</font> 
<p><font size="3">avcodec debug: ffmpeg codec (MPEG-4 Video) started</font> 
<p><font size="3">main debug: using decoder module &quot;avcodec&quot;</font> 
<p><font size="3">main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)</font> 
<p><font size="3">main debug: thread 5660 (decoder) created at priority 0 (../../src/input/decoder.c:217)</font> 
<p><font size="3">main debug: `rtsp://</font><a href="http://192.168.16.10:8554/s1" target="_blank"><font color="blue" size="3"><u>192.168.16.10:8554/s1</u></font></a><font size="3">&#39; successfully opened</font> 
<p><font size="3">qt4 debug: New Event: type 1103</font> 
<p><font size="3">qt4 debug: Updating the stream status: 3</font> 
<p><font size="3">main debug: thread started</font> 
<p><font size="3">main debug: control type=1</font> 
<p><font size="3">avcodec warning: hmm, seems the headers are not complete, trying to guess time_increment_bits</font> 
<p><font size="3">(mpeg4@00BA56D0)</font> 
<p><font size="3">avcodec warning: my guess is 5 bits ;)</font> 
<p><font size="3">(mpeg4@00BA56D0)</font> 
<p><font size="3">avcodec warning: looks like this file was encoded with (divx4/(old)xvid/opendivx) -&gt; forcing low_delay flag</font> 
<p><font size="3">(mpeg4@00BA56D0)</font> 
<p><font size="3">avcodec warning: picture size invalid (0x0)</font> 
<p><font size="3">(mpeg4@00BA56D0)</font> 
<p><font size="3">avcodec warning: get_buffer() failed (-1 0 0 00000000)</font> 
<p><font size="3"> The get_buffer() failed (-1 0 0 00000000) message repeats till the end and it doesn&#39;t play anything.</font> <br><font size="3">Please suggest.</font> <br><font size="3"> </font> <br><font size="3">Thanks a lot<br>
<br><br> </font> <br><font size="3">On Wed, Jun 17, 2009 at 9:53 PM, &lt;</font><a href="mailto:Ishwar.Jasuja@jci.com" target="_blank"><font color="blue" size="3"><u>Ishwar.Jasuja@jci.com</u></font></a><font size="3">&gt; wrote:</font> <br>
<font face="sans-serif" size="2"><br>define READ_FROM_FILES_SYNCHRONOUSLY  in your project file.</font><font size="3"> <br><br><br></font>
<table width="100%">
<tbody>
<tr valign="top">
<td width="53%"><font face="sans-serif" size="1"><b>siyara nt &lt;</b></font><a href="mailto:tech.siya@gmail.com" target="_blank"><font face="sans-serif" color="blue" size="1"><b><u>tech.siya@gmail.com</u></b></font></a><font face="sans-serif" size="1"><b>&gt;</b> <br>
Sent by: </font><a href="mailto:live-devel-bounces@ns.live555.com" target="_blank"><font face="sans-serif" color="blue" size="1"><u>live-devel-bounces@ns.live555.com</u></font></a><font size="3"> </font>
<p><font face="sans-serif" size="1">06/17/2009 02:25 AM</font><font size="3"> </font><br>
<table width="100%" border="4">
<tbody>
<tr valign="top">
<td width="100%" bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>LIVE555 Streaming Media - development &amp; use        &lt;</font><a href="mailto:live-devel@ns.live555.com" target="_blank"><font face="sans-serif" color="blue" size="1"><u>live-devel@ns.live555.com</u></font></a><font face="sans-serif" size="1">&gt;</font></div>
</td></tr></tbody></table>
<p></p>
<td width="44%"><br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="20%">
<div align="right"><font face="sans-serif" size="1">To</font></div>
<td width="79%"><a href="mailto:live-devel@ns.live555.com" target="_blank"><font face="sans-serif" color="blue" size="1"><u>live-devel@ns.live555.com</u></font></a><font size="3"> </font>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
<td>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
<td><font face="sans-serif" size="1">[Live-devel] Live555 build on WinCE 6.0 fileno returns void *</font></td></td></tr></td></td></tr></td></td></tr></tbody></table><br><br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="49%">
<td width="50%"></td></td></tr></tbody></table><br>
<td width="2%"></td></td>
<td><p></p>
<p></p></td></p></td></tr></tbody></table>
<p><font size="3"><br><br><br>Hi All, <br>  <br>I&#39;m a newbie trying to build live555 on WinCe 6.0 based ARM target. <br>I&#39;m getting an error with respect to use of the function fileno in ByteStreamFileSource.cpp file as follows. </font>
<p><font size="1">1&gt;ByteStreamFileSource.cpp(98) : error C2664: &#39;TaskScheduler::turnOffBackgroundReadHandling&#39; : cannot convert parameter 1 from &#39;void *&#39; to &#39;int&#39;</font><font size="3"> </font>
<p><font size="1">I checked the fileno function declaration in stdlib.h file and it is returning a void *.</font><font size="3"> </font>
<p><font size="1">Let me know if anyone has encountered this issue and able to resolve.</font><font size="3"> </font>
<p><font size="1">Please suggest.</font><font size="3"> </font>
<p><font size="1">thanks</font><font size="2"><tt>_______________________________________________<br>live-devel mailing list</tt></font><font color="blue" size="2"><tt><u><br></u></tt></font><a href="mailto:live-devel@lists.live555.com" target="_blank"><font color="blue" size="2"><tt><u>live-devel@lists.live555.com</u></tt></font></a><font color="blue" size="2"><tt><u><br>
</u></tt></font><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank"><font color="blue" size="2"><tt><u>http://lists.live555.com/mailman/listinfo/live-devel</u></tt></font></a> 
<p><font size="3"><br>_______________________________________________<br>live-devel mailing list</font><font color="blue" size="3"><u><br></u></font><a href="mailto:live-devel@lists.live555.com" target="_blank"><font color="blue" size="3"><u>live-devel@lists.live555.com</u></font></a><font color="blue" size="3"><u><br>
</u></font><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank"><font color="blue" size="3"><u>http://lists.live555.com/mailman/listinfo/live-devel</u></font></a><font size="3"><br></font>
<p><font size="2"><tt>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com" target="_blank">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>
</tt></font>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p>
</p></p></div></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>