webrtc-stats icon indicating copy to clipboard operation
webrtc-stats copied to clipboard

WiFi Stats.

Open karthikbr82 opened this issue 7 years ago • 5 comments

The quality of Wifi directly affects the performance of WebRTC and WebRTC can use these stats to adapt and produce a better experience for the users.

Can we standardize WiFi metrics?

The metrics can be - RSSI, Signal, Noise etc.

karthikbr82 avatar Jan 03 '18 15:01 karthikbr82

I suppose this is similar in behaviour to the audio level, where the latest or current value at the time of polling is be reported in the stat.

vr000m avatar Jan 03 '18 15:01 vr000m

I suspect that defining Web accessible metrics for network APIs belongs to the groups dealing with device interfaces (I think it's still the DAP WG), not to WebRTC. https://www.w3.org/TR/netinfo-usecases/ might be a relevant document (from 2014).

alvestrand avatar Jan 04 '18 07:01 alvestrand

Agree with Harald that WiFi stats are out of scope of the WebRTC-stats document. In particular, if you want to understand WiFi performance, it is necessary to go below the IP visible metrics (e.g. packet loss) into link layer metrics relating to frame loss, link layer retransmission and rate adaptation.

aboba avatar Jan 04 '18 22:01 aboba

We added networkType in RTCIceCandidateStats in https://github.com/w3c/webrtc-stats/pull/274, and the wireless signal-related metrics might need to be correlated to the metrics reported from the network (e.g., losses and RTT).

@karthikbr82 could you make an issue on https://github.com/WICG/netinfo/issues and see what they say? link to this issue if needed.

vr000m avatar Jan 05 '18 08:01 vr000m

Iceboxed while waiting for netinfo.

alvestrand avatar Jan 10 '18 14:01 alvestrand