RTCStatsReport API:
media-source
stats
framesPerSecond
in 'media-source' stats for video
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.