[rtmpdump] librtmp in multi threaded applications and interruption
Mikhail I. Izmestev
izmmishao5 at gmail.com
Thu Jun 24 22:01:08 CEST 2010
24.06.2010 23:24, Howard Chu wrote:
> Mikhail I. Izmestev wrote:
>> Hi all.
>>
>> Is it possible to refactor interruption system to allow using librtmp in multi threaded
>> applications?
>> FFmpeg's interruption system is very easy and useful. We can create similar callback to handle
>> interruptions.
>
> I don't understand the question, please explain in more depth. What does multi-threading have to
> do with interruptions? I presume by "interruption" you mean "signal" - signals and threaded code
> do not mix well.
I mean when I use librtmp in my application where I want to open several streams in separated
threads, I want to be opportunity to interrupt one of them if it blocked due to network error.
But in current interrupt system I can't to interrupt only one of streams.
Mikhail.
More information about the rtmpdump
mailing list