[webrtc-stats] Is packetsRecieved on the sender side using the correct method of estimation? (#592)

na-g has just created a new issue for https://github.com/w3c/webrtc-stats:

== Is packetsRecieved on the sender side using the correct method of estimation? ==
RTCInboundRTPReceiverStats is being estimated by the cumulative packets lost from an RR block, and the sequence number from an SR block. This seems like a typo.

On the sender side this could be estimated by storing the initial extended sequence number sent to each SSRC and subtracting it from the difference in the highest extended sequence number from the RR block and the cumulative lost from that RR block. This would mirror the estimate given by RFC 3550 A.3, but on the sender side.

`packetsLost = rr.highest_ext_seq - (rr.cumulative_packets_lost + sender.initial_ext_seq[rr.ssrc])`

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/592 using your GitHub account


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

Received on Wednesday, 13 January 2021 10:42:21 UTC