Replies: 1 comment 3 replies
-
My guess is that you are framing the stream incorrectly. Are you aware that the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys
The problem worried me for several weeks.
I have a video frame data to send to a relay server (which follow the example/proxy.rs code),
I create the TCP frame connection with the default
Framed<TcpStream, BytesCodec>
But I found client A always be disconnect after sending the first 3-5 frames of video data. and output exception:
Reset by the peer
I can confirm it is happening on network transform latency > 20ms. but I don't know why.
Could you enable any tokio log or debug info, and find out the detailed reason, for example, buffer overflow, producer or consumer speed does't match, etc.
how to check and do that. anybody help?
Thanks to all of you.
Beta Was this translation helpful? Give feedback.
All reactions