Re: [webrtc-stats] Need to add the fractionLost into the dictionary RTCInboundRtpStreamStats (#388)

hi Henrik, alvestrand,
  I think [Conformance](https://w3c.github.io/webrtc-stats/#conformance) should be updated if it is really out of date. 
  I do see Google and Apple implemented the fractionLost in the inbound-rtp, which is useful to me. If the industry has implemented it in the real web browsers, I think it is good to make it official to all browsers. 

**Google Chrome implementation:**
 ID: RTCCodec_audio_Inbound_0 
Timestamp: 1549480434040.71
payloadType : 0
mimeType : audio/PCMU
clockRate : 8000
Report: codec 
 ID: RTCCodec_audio_Inbound_103 
Timestamp: 1549480434040.71
payloadType : 103
mimeType : audio/ISAC
clockRate : 16000
Report: codec 
 ID: RTCCodec_audio_Inbound_104 
Timestamp: 1549480434040.71
payloadType : 104
mimeType : audio/ISAC
clockRate : 32000
Report: codec 
 ID: RTCCodec_audio_Inbound_105 
Timestamp: 1549480434040.71
payloadType : 105
mimeType : audio/CN
clockRate : 16000
Report: codec 
 ID: RTCCodec_audio_Inbound_106 
Timestamp: 1549480434040.71
payloadType : 106
mimeType : audio/CN
clockRate : 32000
Report: codec 
 ID: RTCCodec_audio_Inbound_110 
Timestamp: 1549480434040.71
payloadType : 110
mimeType : audio/telephone-event
clockRate : 48000
Report: codec 
 ID: RTCCodec_audio_Inbound_111 
Timestamp: 1549480434040.71
payloadType : 111
mimeType : audio/opus
clockRate : 48000
Report: codec 
 ID: RTCCodec_audio_Inbound_112 
Timestamp: 1549480434040.71
payloadType : 112
mimeType : audio/telephone-event
clockRate : 32000
Report: codec 
 ID: RTCCodec_audio_Inbound_113 
Timestamp: 1549480434040.71
payloadType : 113
mimeType : audio/telephone-event
clockRate : 16000
Report: codec 
 ID: RTCCodec_audio_Inbound_126 
Timestamp: 1549480434040.71
payloadType : 126
mimeType : audio/telephone-event
clockRate : 8000
Report: codec 
 ID: RTCCodec_audio_Inbound_13 
Timestamp: 1549480434040.71
payloadType : 13
mimeType : audio/CN
clockRate : 8000
Report: codec 
 ID: RTCCodec_audio_Inbound_8 
Timestamp: 1549480434040.71
payloadType : 8
mimeType : audio/PCMA
clockRate : 8000
Report: codec 
 ID: RTCCodec_audio_Outbound_110 
Timestamp: 1549480434040.71
payloadType : 110
mimeType : audio/telephone-event
clockRate : 48000
Report: codec 
 ID: RTCCodec_audio_Outbound_111 
Timestamp: 1549480434040.71
payloadType : 111
mimeType : audio/OPUS
clockRate : 48000
Report: candidate-pair 
 ID: RTCIceCandidatePair_Mn5U3fjw_GFS2aJOQ 
Timestamp: 1549480434040.71
transportId : RTCTransport_audio_1
localCandidateId : RTCIceCandidate_Mn5U3fjw
remoteCandidateId : RTCIceCandidate_GFS2aJOQ
state : succeeded
priority : 7961835276064522000
nominated : true
writable : true
bytesSent : 78140
bytesReceived : 42859
totalRoundTripTime : 2.561
currentRoundTripTime : 1.055
availableOutgoingBitrate : 300000
requestsReceived : 1
requestsSent : 1
responsesReceived : 11
responsesSent : 1
consentRequestsSent : 10
Report: remote-candidate 
 ID: RTCIceCandidate_GFS2aJOQ 
Timestamp: 1549480434040.71
transportId : RTCTransport_audio_1
isRemote : true
ip : 104.245.57.253
port : 29620
protocol : udp
candidateType : host
priority : 2130706431
deleted : false
Report: local-candidate 
 ID: RTCIceCandidate_Mn5U3fjw 
Timestamp: 1549480434040.71
transportId : RTCTransport_audio_1
isRemote : false
networkType : wifi
ip : 50.207.16.19
port : 64597
protocol : udp
candidateType : prflx
priority : 1853759231
deleted : false
Report: inbound-rtp 
 ID: RTCInboundRTPAudioStream_1431023951 
Timestamp: 1549480434040.71
ssrc : 1431023951
isRemote : false
mediaType : audio
kind : audio
trackId : RTCMediaStreamTrack_receiver_5
transportId : RTCTransport_audio_1
codecId : RTCCodec_audio_Inbound_111
packetsReceived : 798
bytesReceived : 33701
packetsLost : 2
jitter : 0.013
fractionLost : 0.00390625


**Apple Safari Implementation**
 ID: RTCIceCandidatePair_tVocIxe0_El0Ca/cc 
Timestamp: 1549481466931
availableIncomingBitrate : 0
availableOutgoingBitrate : 300000
bytesReceived : 232470
bytesSent : 438569
currentRoundTripTime : 1.053
localCandidateId : RTCIceCandidate_tVocIxe0
nominated : true
priority : 7926369428998980000
readable : false
remoteCandidateId : RTCIceCandidate_El0Ca/cc
requestsReceived : 2
requestsSent : 2
responsesReceived : 40
responsesSent : 2
state : succeeded
totalRoundTripTime : 7.157
transportId : RTCTransport_audio_1
writable : true
Report: inbound-rtp 
 ID: RTCInboundRTPAudioStream_3906964699 
Timestamp: 1549481466931
firCount : 0
isRemote : false
nackCount : 0
pliCount : 0
qpSum : 0
sliCount : 0
ssrc : 2
burstDiscardCount : 0
burstDiscardRate : 0
burstLossCount : 0
burstLossRate : 0
burstPacketsDiscarded : 0
burstPacketsLost : 0
bytesReceived : 212716
fractionLost : 0.09375
framesDecoded : 0
gapDiscardRate : 0
gapLossRate : 0
jitter : 0.001
packetsDiscarded : 0
packetsLost : 53
packetsReceived : 4483
packetsRepaired : 0

For the details , please check my ticket filed to Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1525692 .

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

Received on Wednesday, 13 February 2019 02:33:55 UTC