|
|
|
|
|
by 01HNNWZ0MV43FF
185 days ago
|
|
You can still get this backpressure properly even if you're doing it push-style. The TCP socket will eventually fill up its buffer and start blocking your writes. When that happens, you stop encoding new frames until the socket is able to send again. The trick is to not buffer frames on the sender. |
|