W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2017

Re: [webrtc-stats] RoundTripTime not defined when the underlying stream can't calculate it

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Mar 2017 21:37:39 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-284867496-1488922657-sysbot+gh@w3.org>
@jesup schooled me on the round-trip time calculation, and it turns out it can't be calculated until an RR comes in with data based off a remotely-receivecd SR. In other words, not necessarily the first RR.

So based on the same reading of the stats spec [I mentioned above](https://bugzilla.mozilla.org/show_bug.cgi?id=1341421#c7) I think it makes sense for the `roundTripTime` member to be missing (effectively `undefined`) until a proper value is available. Does that make sense?

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/180#issuecomment-284867496 using your GitHub account
Received on Tuesday, 7 March 2017 21:37:45 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC