<div dir="ltr"><br>Thank's Ross<br><br> Actually we have a server listing the media file in the SDcard and send to client, then it invoke the live555mediaserver.<br><br>Client application invoke the mplayer with the list of the files as playlist. So we have to play one by one. So we tired some way to forcefully kill the application.<br>
<br>I am digging the code now...<br><br>If you have any idea please let me know ...<br><br>Thanks<br>Rishi<br><blockquote style="margin: 1.5em 0pt;"></blockquote><br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 5:40 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to use live555 as a server and client as mplayer. Also tried with some mp2 streams .<br>
mplayer I am able to play the streams properly. when streams reaches EOF then mplayer is hanging.<br>
I just do some debug and got that the mplayer hangs at demux_rtp.cpp file. It goes to an infinte loop there as<br>
waiting until the data available ? Can you suggest some method to avoid this..<br>
</blockquote>
<br></div>
When the stream ends, the server should be sending a RTCP "BYE" packet, which your client (MPlayer) should be receiving. That should be telling it that the stream has ended. If, however, the server is not sending a RTCP "BYE", and is not closing the RTSP TCP connection, then there's not much you can do - because it's not telling you that the stream has ended.<br>
<br>
Of course, If you really want to stop at this point, then just quit MPlayer :-)<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></div>