Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stats.atSendCapacity #603

Merged
merged 16 commits into from
Oct 8, 2024
Merged
12 changes: 10 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,8 @@ dictionary WebTransportConnectionStats {
required DOMHighResTimeStamp rttVariation;
required DOMHighResTimeStamp minRtt;
required WebTransportDatagramStats datagrams;
required unsigned long long? estimatedSendRate;
required unsigned long long? estimatedSendRate = null;
jan-ivar marked this conversation as resolved.
Show resolved Hide resolved
required boolean isSendDataLimited = true;
jan-ivar marked this conversation as resolved.
Show resolved Hide resolved
};
</pre>

Expand Down Expand Up @@ -1532,7 +1533,14 @@ The dictionary SHALL have the following attributes:
{{WebTransport/congestionControl}}). If the user agent does not
currently have an estimate, the member MUST be the `null` value.
The member can be `null` even if it was not `null` in previous results.

: <dfn for="WebTransportConnectionStats" dict-member>isSendDataLimited</dfn>
:: False if the rate at which queued data will be sent by the user agent on all streams
and datagrams that share a [=WebTransport session=], as calculated by the congestion
control algorithm, is not currently application limited; Otherwise true.
<div class="note">
When {{isSendDataLimited}} is `false`, the {{estimatedSendRate}} reflects a ceiling.
However, {{estimatedSendRate}} can be `null` while {{isSendDataLimited}} is true.
<div>

## `WebTransportDatagramStats` Dictionary ## {#web-transport-datagram-stats}

Expand Down
Loading