[libav-devel] [PATCH 2/3] rtmp: Read and handle incoming packets while writing data

2012-06-14 Thread Samuel Pitoiset
This makes sure all incoming packets are read and handled (and reacted to) while sending an FLV stream over RTMP to a server. If there were enough incoming data to fill the TCP buffers, this could potentially make things block at unexpected places. For the upcoming RTMPT support, we need to

Re: [libav-devel] [PATCH 2/3] rtmp: Read and handle incoming packets while writing data

2012-06-14 Thread Martin Storsjö
On Thu, 14 Jun 2012, Samuel Pitoiset wrote: This makes sure all incoming packets are read and handled (and reacted to) while sending an FLV stream over RTMP to a server. If there were enough incoming data to fill the TCP buffers, this could potentially make things block at unexpected places.