Commit 80d493ee authored by Johannes Kron's avatar Johannes Kron Committed by Commit Bot

Whitelist frameBitDepth / bitDepth

frameBitDepth and bitDepth have recently been added to the
WebRTC stats specification.
https://github.com/w3c/webrtc-stats/pull/517

Bug: chromium:1018825
Change-Id: I28ce4361ae7bd70b280564a23913731af7450d4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1932442
Commit-Queue: Johannes Kron <kron@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719124}
parent 3507d4fa
......@@ -117,6 +117,7 @@ let kRTCInboundRtpStreamStats = new RTCStats(kRTCReceivedRtpStreamStats, {
remoteId: 'string',
framesDecoded: 'number',
keyFramesDecoded: 'number',
frameBitDepth: 'number',
qpSum: 'number',
totalDecodeTime: 'number',
totalInterFrameDelay: 'number',
......@@ -187,6 +188,7 @@ let kRTCOutboundRtpStreamStats = new RTCStats(kRTCSentRtpStreamStats, {
headerBytesSent: 'number',
targetBitrate: 'number',
totalEncodedBytesTarget: 'number',
frameBitDepth: 'number',
framesEncoded: 'number',
keyFramesEncoded: 'number',
qpSum: 'number',
......@@ -250,6 +252,7 @@ addRTCStatsToWhitelist(
const kRTCVideoSourceStats = new RTCStats(kRTCMediaSourceStats, {
width: 'number',
height: 'number',
bitDepth: 'number',
frames: 'number',
framesPerSecond: 'number',
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment