[rtmpdump] RTMPSockBuf_Send - Blocking
Steve McFarlin
steve at stevemcfarlin.com
Thu Feb 10 05:05:55 CET 2011
On Feb 9, 2011, at 7:41 PM, Steve McFarlin wrote:
> This message is in case someone runs across the same issue when using librtmp to publish on unreliable networks using iOS.
>
> Send will block indefinitely when one of the radios goes down (iphone). SIGPIPE may be thrown if there is no radio available, but this is inconsistent at best. The only way I have found around this issue is to use select with a timeout of 0.
>
>
> steve
Actually this is partially incorrect. You can set a timeout greater then zero on select. Forgot to clean.
steve
More information about the rtmpdump
mailing list