I'm trying to download stream with librtmp, and I always get a socket error after 20MB data transfered or less.
Code:
RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10060 (Unknown error)
Code:
RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Unknown error)
ffmpeg has the same problem. With rtmpdump, same stream is working fine.
What is the common cause of this issue?