Thank you Howard. I will update.<br><br><div class="gmail_quote">On Sun, May 27, 2012 at 4:00 PM, Howard Chu <span dir="ltr"><<a href="mailto:hyc@highlandsun.com" target="_blank">hyc@highlandsun.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Sreekanth Annapureddy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear All,<br>
<br>
I think I ran into a bug while publishing RTMP stream using librtmp.<br>
<br>
Consider the scenario when I disconnect from network on fly while publishing<br>
an RTMP audio/video stream. The WriteN() function detects that network is<br>
disconnected, and tries to close the RTMP session by calling RTMP_Close().<br>
However, we seem to get into a infinite loop since RTMP_Close() calls<br>
SendFCUnpublish() which in turn calls WriteN(), and so on.<br>
<br>
Please let me know if this is indeed a bug or if my understanding is incorrect.<br>
<br>
Thanks for your time,<br>
</blockquote>
<br></div></div>
Fixed in git about a year ago, you're far out of date.<br>
<br>
commit ID 159a06ebe6d82ef20f2c77c497d55a<u></u>f00d2e0b78<br>
<br>
<br>
</blockquote></div><br>