diff --git a/webrtc-stats.html b/webrtc-stats.html index 889f7e5..7d66739 100644 --- a/webrtc-stats.html +++ b/webrtc-stats.html @@ -1966,6 +1966,8 @@

unsigned long framesEncoded; unsigned long keyFramesEncoded; unsigned long long qpSum; + record<DOMString, double> psnrSum; + unsigned long long psnrMeasurements; double totalEncodeTime; double totalPacketSendDelay; RTCQualityLimitationReason qualityLimitationReason; @@ -2218,6 +2220,46 @@

formats have ways to vary the quantizer value within the frame.

+
+ psnrSum of type + record<DOMString, double> +
+
+

+ MUST NOT [= map/exist =] unless [= exposing hardware is allowed =]. +

+

+ MUST NOT [= map/exist =] for audio. + The cumulative sum of the PSNR values of frames encoded by this sender. + The record includes values for the "y", "u" and "v" components. + The count of measurements is in {{psnrMeasurements}}. +

+

+ PSNR is defined in [[ISO-29170-1:2017]]. +

+

+ PSNR metrics are intended for statistical analysis rather + than representing absolute truth on a per-frame basis. +

+
+
+ psnrMeasurements of type unsigned long long + +
+
+

+ MUST NOT [= map/exist =] unless [= exposing hardware is allowed =]. +

+

+ MUST NOT [= map/exist =] for audio. + The number of times PSNR was measured. The components of {{psnrSum}} are + aggregated with this measurement. +

+

+ The PSNR is defined in [[ISO-29170-1:2017]]. + The frequency of PSNR measurements is [=implementation-defined=]. +

+
totalEncodeTime of type double diff --git a/webrtc-stats.js b/webrtc-stats.js index 1197742..1c87249 100644 --- a/webrtc-stats.js +++ b/webrtc-stats.js @@ -99,6 +99,11 @@ var respecConfig = { status: "Internet Draft", publisher: "IETF" }, + "ISO-29170-1:2017": { + title: "Information technology — Advanced image coding and evaluation", + href: "https://www.iso.org/standard/63637.html", + publisher: "ISO", + }, }, postProcess: [ function generateStatsHierarchy(config, doc) {