Re: [webrtc-stats] Add PSNR (Y/U/V) for outbound-rtp (#794)

I would not even poll getStats for A/B testing purposes. One would typically poll periodically and use the last result or call getStats explicitly **before** closing the peerconnection and then calculate the average PSNR as psnrSum_{y,u,v}/psnrMeasurements. Only calls with enough psnrMeasurements should be taken into account which one needs to irrespective of sampling frequency to exclude "short calls".

(while we are rambling: it seems Firefox throws when calling getStats on a closed peerconnection which is not my understanding of #3 arguably with all the transceivers gone all the interesting stats disappear *nowadays*)

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/794#issuecomment-2691324458 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 28 February 2025 18:46:02 UTC