Closed go-jar closed 2 years ago
What data rate are you observing? What data rate did you expect? Where are your transmit and receive tasks waiting?
It looks like you still have a finish().await
call, which you may want to adjust per previous discussion in #1265.
I moved finish().await
into a task. Maybe I should remove finish().await
and don't need to use task. Now, I use multiple streams to send videos, should I sorted on the receiving end?
I moved
finish().await
into a task. Maybe I should removefinish().await
and don't need to use tasks. Now, I use multiple streams to send videos, should I sorted on the receiving end?
A task that does nothing but finish().await
indeed serves no purpose.
Refer to the IncomingUniStreams
documentation for information on inter-stream ordering.
A task that does nothing but
finish().await
indeed serves no purpose.Refer to the
IncomingUniStreams
documentation for information on inter-stream ordering.
Thanks!
I retested under the LAN. I find that uni_streams.next().await takes 1~120ms. RTT is about 2ms.
If you're stuck waiting on uni_streams.next()
, that indicates that the sender hasn't transmitted a new stream yet. What's the sender waiting for?
If you're stuck waiting on
uni_streams.next()
, that indicates that the sender hasn't transmitted a new stream yet. What's the sender waiting for?
I see. Thank you.
When sending video, the delay is large, which may reach more than ten seconds. Code shows as follows. Does anyone has any suggestions?