[rtmpdump] Infinite loop bug: Network disconnects while publishing RTMP Stream
Sreekanth Annapureddy
sreekanthav at gmail.com
Mon May 28 01:11:07 CEST 2012
Thank you Howard. I will update.
On Sun, May 27, 2012 at 4:00 PM, Howard Chu <hyc at highlandsun.com> wrote:
> Sreekanth Annapureddy wrote:
>
>> Dear All,
>>
>> I think I ran into a bug while publishing RTMP stream using librtmp.
>>
>> Consider the scenario when I disconnect from network on fly while
>> publishing
>> an RTMP audio/video stream. The WriteN() function detects that network is
>> disconnected, and tries to close the RTMP session by calling RTMP_Close().
>> However, we seem to get into a infinite loop since RTMP_Close() calls
>> SendFCUnpublish() which in turn calls WriteN(), and so on.
>>
>> Please let me know if this is indeed a bug or if my understanding is
>> incorrect.
>>
>> Thanks for your time,
>>
>
> Fixed in git about a year ago, you're far out of date.
>
> commit ID 159a06ebe6d82ef20f2c77c497d55a**f00d2e0b78
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20120527/f39aa339/attachment.html>
More information about the rtmpdump
mailing list