Skip to content

Commit

Permalink
Issue 178/packets discarded on send (#203)
Browse files Browse the repository at this point in the history
* packetsDiscardedOnSend and bytesDiscardedOnSend for RTCSentRTPStreamStats

* specify error reasons and calculation method

* fix referencing RFC3550
  • Loading branch information
lennart-csio authored and vr000m committed May 25, 2017
1 parent 148b026 commit 696b47f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions webrtc-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,9 @@ <h3>
<div>
<pre class="idl">dictionary RTCSentRTPStreamStats : RTCRTPStreamStats {
unsigned long packetsSent;
unsigned long packetsDiscardedOnSend;
unsigned long long bytesSent;
unsigned long long bytesDiscardedOnSend;
};</pre>
<section>
<h2>
Expand All @@ -1142,6 +1144,18 @@ <h2>
[[!RFC3550]] section 6.4.1.
</p>
</dd>
<dt>
<dfn><code>packetsDiscardedOnSend</code></dfn> of type <span class="idlMemberType">
<a>unsigned long</a></span>
</dt>
<dd>
<p>
Total number of RTP packets for this SSRC that have been discarded due to socket
errors, i.e. a socket error occured when handing the packets to the socket. This
might happen due to various reasons, including full buffer or no available
memory.
</p>
</dd>
<dt>
<dfn><code>bytesSent</code></dfn> of type <span class="idlMemberType"><a>unsigned
long long</a></span>
Expand All @@ -1152,6 +1166,18 @@ <h2>
section 6.4.1.
</p>
</dd>
<dt>
<dfn><code>bytesDiscardedOnSend</code></dfn> of type <span class="idlMemberType">
<a>unsigned long long</a></span>
</dt>
<dd>
<p>
Total number of bytes for this SSRC that have been discarded due to socket
errors, i.e. a socket error occured when handing the packets containing the bytes
to the socket. This might happen due to various reasons, including full buffer
or no available memory. Calculated as defined in [[!RFC3550]] section 6.4.1.
</p>
</dd>
</dl>
</section>
</div>
Expand Down

0 comments on commit 696b47f

Please sign in to comment.