mirror of https://github.com/FFmpeg/FFmpeg.git
The rtmp protocol uses nonblocking reads, to poll for incoming messages from the server while publishing a stream. Prior topull/272/head94599a6de3
andd13b124eaf
, the tls protocol handled the nonblocking flag, mostly as a side effect from not using custom IO callbacks for reading from the socket. When custom IO callbacks were taken into use ind15eec4d6b
, the handling of a nonblocking socket wasn't necessary for the default blocking mode any longer. The code was simplified, since it was overlooked that other code within libavformat actually used the tls protocol in nonblocking mode. This fixes publishing over rtmps, with the gnutls backend. Signed-off-by: Martin Storsjö <martin@martin.st>
parent
0671eb2346
commit
eb061ad6fd
1 changed files with 19 additions and 4 deletions
Loading…
Reference in new issue