[rtmpdump] librtmp in multi threaded applications and interruption

Mikhail I. Izmestev izmmishao5 at gmail.com
Fri Jun 25 22:50:26 CEST 2010


 25.06.2010 00:22, Art Clarke wrote:
> He means have librtmp let users register a call-back function that librtmp
> calls whenever it is in a loop that might 'block' on network access.  See
> url_set_interrupt_cb in FFmpeg's libavformat/avio.h file.
>
> - Art
You are right.

I tried to implement call-back function similar to FFmpeg's, seems to be works for me.
But currently it very dirty and doesn't support encrypted connections (I have never worked with it).

Mikhail.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: user_interrupt.patch
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100626/dd134f2b/attachment.txt>


More information about the rtmpdump mailing list