Closed
Bug 1453764
Opened 7 years ago
Closed 7 years ago
videoCodec missing in WebRTC getStats results
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1225722
People
(Reporter: mwilson, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180323154952
Steps to reproduce:
Call
peerConnection.getStats(null).then((X) => {X.forEach((report) => console.log(report));})
on an active WebRTC peer connection.
Actual results:
A variety of stats are seen for the RTP, but nothing about the videoCodec in use. To take one example:
bitrateMean: 352350.745945946
bitrateStdDev: 31318.453623627764
bytesSent: 8456466
droppedFrames: 61
firCount: 0
framerateMean: 29.17837837837838
framerateStdDev: 2.4217240462223826
framesEncoded: 5417
id: "outbound_rtp_video_1"
isRemote: false
mediaType: "video"
nackCount: 0
packetsSent: 10639
pliCount: 0
remoteId: "outbound_rtcp_video_1"
ssrc: "193348778"
timestamp: 1523556382494
type: "outbound-rtp"
Expected results:
I would have expected to see videoCodec in the statistics, or at least some way to map from the statistics to the codec in use. As far as I can tell there is no way to know the videoCodec being used.
Updated•7 years ago
|
Component: Untriaged → WebRTC
Product: Firefox → Core
Comment 1•7 years ago
|
||
Firefox does not yet support the RTCCodecStats dictionary[1]. Bug 1225722 has already been filed for that, so I am going to mark this as a duplicate.
[1] https://w3c.github.io/webrtc-stats/#codec-dict*
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → wontfix
status-firefox60:
--- → wontfix
status-firefox61:
--- → affected
status-firefox-esr52:
--- → wontfix
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•