Chrome74 handler - RTCPeerConnection.getStats() always returning { size: X }

Hi guys,

When calling transport.getStats() I’m always getting a structure like { size: <number> }. Was checking RTCPeerConnection and RTCStatsReport and this type of structure is not documented.

I’m wondering if this is no longer supported or there’s an issue that I could’t find on github and the forum. If there’s an issue with getStats maybe it should be removed from client API.

I’m pretty sure RTCPeerConnection.getStats a while ago :thinking:

Thanks, Oscar.

Dummy me, the console.log doesn’t serialise RTCStatsReport completely now. Sorry about that, leaving this post here if someone has a similar question.

1 Like

:slight_smile:

Hi Oscar,

Tried to do the rtcRTPVideoStats.entries(), i am getting an empty iterator object.

You have the response above. You have just repeated what this topic talks about. Read the entire topic, please.