getStats on a peer connection is missing RTCIceCandidatePairStats and RTCIceCandidateStats objects. local-candidate and remote-candidate are missing. Both Chrome and Firefox provide these, and in particular, we are interested in the priority field as we use it to differentiate between STUN, TURN/TLS, TURN/TCP, TURN/UDP. This is also a requirement from the spec.
Steps to Reproduce:
Head to: https://webrtc.github.io/samples/src/content/peerconnection/constraints/
Click "Get media"
Observe there is no local-candidate or remote-candidate stat types
There are stats for candidate pairs etc. Expect to see RTCIceCandidatePairStats and RTCIceCandidateStats types.
There is no objects of type RTCIceCandidatePairStats or RTCIceCandidateStats
*** This bug has been marked as a duplicate of bug 172734 ***