mirror of https://github.com/FFmpeg/FFmpeg.git
Rtmpt is effectively half duplex - the server can't return any data unless we send a request (to which the server responds). If we don't have any data to send currently, and the server didn't return any data either, wait a little before doing the next request. This avoids busy looping with idle posts with empty replies, while waiting for more data from the server. Signed-off-by: Martin Storsjö <martin@martin.st>pull/59/head
parent
4cc2920dd2
commit
9d811fd80f
1 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue