Skip to content

Commit

Permalink
Add frameBitDepth to RTCInboundRtpStreamStats and RTCOutboundRtpStrea…
Browse files Browse the repository at this point in the history
…mStats (#517)

* Add frameBitDepth to RTCInboundRtpStreamStats and RTCOutboundRtpStreamStats

* Change from per channel to per pixel

* Also update the second use of frameBitDepth

* Move frameBitDepth from RTCOutboundRtpStreamStats to RTCVideoSourceStats

* Add frameBitDepth back to RTCOutboundRtpStreamStats
  • Loading branch information
drkron authored and vr000m committed Nov 21, 2019
1 parent 4de7bb2 commit e3a6958
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions webrtc-stats.html
Expand Up @@ -1190,6 +1190,7 @@ <h3>
unsigned long keyFramesDecoded;
unsigned long frameWidth;
unsigned long frameHeight;
unsigned long frameBitDepth;
double framesPerSecond;
unsigned long long qpSum;
double totalDecodeTime;
Expand Down Expand Up @@ -1303,6 +1304,17 @@ <h2>
the first frame is decoded this attribute is missing.
</p>
</dd>
<dt>
<dfn><code>frameBitDepth</code></dfn> of type <span class="idlMemberType">unsigned
long</span>
</dt>
<dd>
<p>
Only valid for video. Represents the bit depth per pixel of the last decoded frame.
Typical values are 24, 30, or 36 bits.
Before the first frame is decoded this attribute is missing.
</p>
</dd>
<dt>
<dfn><code>framesPerSecond</code></dfn> of type <span class=
"idlMemberType">double</span>
Expand Down Expand Up @@ -1936,6 +1948,7 @@ <h3>
unsigned long long totalEncodedBytesTarget;
unsigned long frameWidth;
unsigned long frameHeight;
unsigned long frameBitDepth;
double framesPerSecond;
unsigned long framesSent;
unsigned long hugeFramesSent;
Expand Down Expand Up @@ -2139,6 +2152,17 @@ <h2>
Before the first frame is encoded this attribute is missing.
</p>
</dd>
<dt>
<dfn><code>frameBitDepth</code></dfn> of type <span class="idlMemberType">unsigned
long</span>
</dt>
<dd>
<p>
Only valid for video. Represents the bit depth per pixel of the last encoded frame.
Typical values are 24, 30, or 36 bits.
Before the first frame is encoded this attribute is missing.
</p>
</dd>
<dt>
<dfn><code>framesPerSecond</code></dfn> of type <span class=
"idlMemberType">double</span>
Expand Down Expand Up @@ -2753,6 +2777,7 @@ <h3>
<pre class="idl">dictionary RTCVideoSourceStats : RTCMediaSourceStats {
unsigned long width;
unsigned long height;
unsigned long bitDepth;
unsigned long frames;
unsigned long framesPerSecond;
};</pre>
Expand Down Expand Up @@ -2782,6 +2807,17 @@ <h2>
frame has been produced this attribute is missing.
</p>
</dd>
<dt>
<dfn><code>bitDepth</code></dfn> of type <span class="idlMemberType">unsigned
long</span>
</dt>
<dd>
<p>
The bit depth per pixel of the last frame originating from this source. Before a
frame has been produced this attribute is missing.
</p>
</dd>

<dt>
<dfn><code>frames</code></dfn> of type <span class="idlMemberType">frames</span>
</dt>
Expand Down

0 comments on commit e3a6958

Please sign in to comment.