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

Re: [webrtc-stats] What is fractionLost for a local incoming media stream?

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Oct 2017 11:15:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339296597-1508930135-sysbot+gh@w3.org>
Hm. fractionLost is only defined in the RTCReceivedRTPStreamStats dictionary, which is split further into RTCRemoteInbound and RTCInbound.
The number (calculated according to RFC 3550 section 6.4.1) doesn't make sense for stats, since it contains information about only the last reporting interval - and we have no representation of reporting intervals, and specific advice against doing that form of stats.

This is the only stat we have where 3550 gives it as "since the previous SR or RR packet was sent".

Proposal: Remove the stat. It can be calculated, if needed, as (newStats.RTCRemoteInbound.packetsLost - oldStats.RTCRemoteInbound.packetsLost) / (newStats.RTCRemoteInbound.packetsReceived - oldStats.RTCRemoteInbound.packetsReceived) (warning: pseudocode!)



-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/255#issuecomment-339296597 using your GitHub account
Received on Wednesday, 25 October 2017 11:15:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC