Get actual framerate output from AdapterJS

44 views
Skip to first unread message

Bart Jansen

unread,
Jul 26, 2016, 1:55:08 AM7/26/16
to Temasys WebRTC Plugin
Hi all,

As part of my master research, I'm comparing the WebRTC video conferencing performance of different browsers.

For IE and Safari I use the Temasys adapter and PeerConnection.getStats() to obtain the framerate of the received video stream. I notice that Temasys has a hard time decoding full HD streams when compared to Chrome and Firefox. But when I look at the googFramerateOutput or googFramerateReceived in the RTCStatsReport, it states that the resulting framerate is close to (the original) 50FPS, even though I notice that the actual framerate is less than < 10FPS.  

Is there a way to obtain the real framerate?

Thanks,

Bart 

Jacques-Olivier Haché

unread,
Aug 16, 2016, 5:01:05 PM8/16/16
to Temasys WebRTC Plugin
Hi,

The two measures are different.
- What getStats returns is the FPS received through the PC.
- What you are probably measuring is the number of frames printed in the HTML <object>.
Not every frame received might be printed. That might be due to processing power, to the NPAPI/ActiveX interface, or to some other reason.

I did not realise there was such a difference though.
Reply all
Reply to author
Forward
0 new messages