quic_stream_capacity 这个接口返回值的意义 #228
Answered
by
glime-ai
bot
Return to top
-
/**
以上这个接口,返回值capacity 是指的当前流的最大可发送码率, 还是当前总共发送了多少字节? |
Beta Was this translation helpful? Give feedback.
Answered by
glime-ai[bot]
Apr 11, 2024
Replies: 1 comment 1 reply
-
返回值 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iyangsj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
返回值
capacity
指的是当前流的可发送容量,即在当前时刻,这个流还能发送多少字节的数据。这不是指流的最大可发送码率,也不是指流总共已发送了多少字节,而是指在调用此函数的时刻,基于流控制和拥塞控制的限制,这个流还能发送多少额外的数据。