Skip to content

Commit

Permalink
RTCIceCandidatePairStats.last[Request/Response]Timestamp added (#213)
Browse files Browse the repository at this point in the history
* Fixes #201 and #63 

* Added firstRequestTimestamp as per PR 214
  • Loading branch information
henbos authored Jun 8, 2017
1 parent 696b47f commit db833cd
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions webrtc-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ <h2>
It is the total time each audio sample or video frame takes from the time it
is received to the time it is rendered. The delay is measured from the time
the first packet belonging to an audio/video frame enters the jitter buffer
to the time the complete frame is sent for rendering after decoding. The average
to the time the complete frame is sent for rendering after decoding. The average
jitter buffer delay can be calculated by dividing the <code>jitterBufferDelay</code>
with the <code>framesDecoded</code> (for video) or <code>totalSamplesReceived</code> (for audio).
</p>
Expand Down Expand Up @@ -2257,6 +2257,9 @@ <h3>
unsigned long long bytesReceived;
DOMHighResTimeStamp lastPacketSentTimestamp;
DOMHighResTimeStamp lastPacketReceivedTimestamp;
DOMHighResTimeStamp firstRequestTimestamp;
DOMHighResTimeStamp lastRequestTimestamp;
DOMHighResTimeStamp lastResponseTimestamp;
double totalRoundTripTime;
double currentRoundTripTime;
double availableOutgoingBitrate;
Expand Down Expand Up @@ -2383,7 +2386,7 @@ <h2>
<dd>
<p>
Represents the timestamp at which the last packet was sent on this particular
candidate pair.
candidate pair, excluding STUN packets.
</p>
</dd>
<dt>
Expand All @@ -2393,7 +2396,39 @@ <h2>
<dd>
<p>
Represents the timestamp at which the last packet was received on this particular
candidate pair.
candidate pair, excluding STUN packets.
</p>
</dd>
<dt>
<dfn><code>firstRequestTimestamp</code></dfn> of type <span class="idlMemberType">
<a>DOMHighResTimeStamp</a></span>
</dt>
<dd>
<p>
Represents the timestamp at which the first STUN request was sent on this
particular candidate pair.
</p>
</dd>
<dt>
<dfn><code>lastRequestTimestamp</code></dfn> of type <span class="idlMemberType">
<a>DOMHighResTimeStamp</a></span>
</dt>
<dd>
<p>
Represents the timestamp at which the last STUN request was sent on this
particular candidate pair. The average interval between two consecutive
connectivity checks sent can be calculated with <code>(lastRequestTimestamp -
firstRequestTimestamp) / requestsSent</code>.
</p>
</dd>
<dt>
<dfn><code>lastResponseTimestamp</code></dfn> of type <span class="idlMemberType">
<a>DOMHighResTimeStamp</a></span>
</dt>
<dd>
<p>
Represents the timestamp at which the last STUN response was received on this
particular candidate pair.
</p>
</dd>
<dt>
Expand Down

0 comments on commit db833cd

Please sign in to comment.