Other point,<div><br></div><div>Is imperative have the line "env->taskScheduler().doEventLoop();" enabled to keep server streaming? Apparently this avoid start the server and keep processing the resto of the source code.</div>
<div><br></div><div>Without this line, VLC returns "main input error: open of 'rtsp://<a href="http://10.0.0.49:8554/mpeg2TransportStreamTest">10.0.0.49:8554/mpeg2TransportStreamTest</a>' failed: (null) "</div>
<div><br></div><div>It's possible starts the server and keep processing?</div><div><br></div><div>Tanks,<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 2:19 PM, Rafael Madeira <span dir="ltr"><<a href="mailto:rafael.madeira@idea-ip.com">rafael.madeira@idea-ip.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, Ross<div><br></div><div>maybe i was unclear about my point.</div><div><br></div><div>Until now, i can compile my application with C and C++ sources. So, i'm able to copy the "testOnDemandRTSPServer.cpp" code to my application. </div>
<div><br></div><div>I want do that to turn the thread responsible for send the TS generated data (in mu app) in a RTSP server and avoid using unamed pipes ( which are very little robust and controled by SO).</div><div><br>
</div><div>My sender thread receives in a "infinite" loop data being generated by other thread (capture, video, audio, etc...) and my goal is make the server read this data and send to the RTSP client (VLC). </div>
<div><br></div><div>I notice the server reads from a open (by fopen) file and i think i should change this to read direct from the buffers my sender thread constanlty receives. </div><div><br></div><div>I'm right??</div>
<div><br></div><div>Tanks,</div><div><div><div></div><div class="h5"><br><div class="gmail_quote">On Mon, Mar 14, 2011 at 9:30 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm achieving some level of success in using LIVE555 as a library for my C application until now. The goal is live streaming TS (Transport Stream with H264 video and AAC audio) direct from my application to VLC client.<br>
<br>
But i believe some changes must be done because the program i'm using as example (testMPEG2TransportStreamer.cpp) read the TS from a file and now the data which must be streamed will arrive by internal buffers.<br>
<br>
How tell to live 555 library to read from some buffer directly instead from a file?<br>
</blockquote>
<br></div>
See <a href="http://www.live555.com/liveMedia/faq.html#liveInput" target="_blank">http://www.live555.com/liveMedia/faq.html#liveInput</a><br>
-- <br><font color="#888888">
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
_______________________________________________<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>
</font></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Att,</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Rafael Madeira</span></div>
Idea! Electronic Systems<br><a href="http://www.idea-ip.com/" style="color:rgb(42, 93, 176)" target="_blank">www.idea-ip.com</a></span><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Att,</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Rafael Madeira</span></div>
Idea! Electronic Systems<br><a href="http://www.idea-ip.com/" style="color:rgb(42, 93, 176)" target="_blank">www.idea-ip.com</a></span><br>
</div>