W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2022

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

From: Varun Singh via GitHub <sysbot+gh@w3.org>
Date: Tue, 18 Oct 2022 12:05:32 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1282278962-1666094730-sysbot+gh@w3.org>
There are two ways of calculating fractionLost:
1. using the difference of packetsLost over packetsReceived between two `getStats` calls.
2. Expose what the receiver calculates to send in the RTCP RR.

The (1) is already possible. For (2) the main issue is the timestamp reported in the object is based on the latest snapshot and not the timestamp when the RTCP RR was created. 

We have discussed variations of this in #255 #283


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 18 October 2022 12:05:34 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:59 UTC