RTCPeerConnection.prototype.getStats method, which provides a
RTCStatsReport, has been removed from the WebRTC spec and will also be removed from Firefox in the near future. The Web Console on Firefox 53 and later shows a deprecation warning for the legacy version. Use the new Promise version instead.
Update: The callback-based
getStats method has been removed with Firefox 66.