rtcstats-server
rtcstats-server copied to clipboard
fileFormat 2 breaks time series in webrtc-dump-importer
It looks like the fileFormat 2 causes the time series to render incorrectly:
This is rendered with the fileFormat v2:
If I remove the "fileFormat":2
in the extracted file it seems to render correctly:
Is this a known issue / expected behavior / user error?
Thanks!
works for me. The graph looks as if stats[id].timestamp is undefined in https://github.com/fippo/webrtc-dump-importer/blob/gh-pages/rtcstats.html#L357 - which could happen if you use a v1 js with a server that assumes v2
@fippo Interesting, should the server be checking the client version before writing the fileFormat: 2 parameter? Interestingly I also saw this behavior with the output from running npm run test
is the seed data for that still in the legacy format?