RTMPSockBuf_Send - Blocking
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
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
participants (1)
-
Steve McFarlin