Re: [webrtc-stats] add fractionLost stats in RTCInboundRtpStreamStats (#706)

as title described: suggest add fractionLost stats in RTCInboundRtpStreamStats, as rtp receiver,  fractionLost field exist in RTCP RR and is calculated every RTCP RR internal, we just need export it to RTCInboundRtpStreamStats.

`using the difference of packetsLost over packetsReceived between two getStats calls.`  
 yes, user can  manually calculate like this, but it leaving the user to Implement complexity, and does not align with existing fields in  [rtcremoteinboundrtpstreamstats](https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteinboundrtpstreamstats).

just as fractionLost exist in [rtcremoteinboundrtpstreamstats](https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteinboundrtpstreamstats) currently, it's filled via remote send RTCP RR.


This is just a personal opinion on improve this stats, discuss the feasibility with you.
Thanks  :>

 

-- 
GitHub Notification of comment by bdrtc
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/706#issuecomment-1317984350 using your GitHub account


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

Received on Thursday, 17 November 2022 02:48:50 UTC