Closed Bug 1981040 Opened 7 months ago Closed 6 months ago

New fields in RTCIceCandidatePairStats do not match WebRTC spec

Categories

(Core :: WebRTC, defect, P2)

Firefox 142
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox142 --- wontfix
firefox143 --- fixed
firefox144 --- fixed

People

(Reporter: mattieruth, Assigned: mjf)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

Hosted a WebRTC call using Beta 142.0b7 and checked the candidate pair stats, specifically looking at currentRoundTripTime. (side note: thank you for implementing these!)

Actual results:

I got a currentRoundTripTime in milliseconds

Expected results:

The times should be reported in terms of seconds, per the spec: https://www.w3.org/TR/webrtc-stats/#candidatepair-dict*

Duplicate of this bug: 1981042
Component: Untriaged → WebRTC
Product: Firefox → Core
Keywords: regression
Regressed by: 1371391

:mjf, since you are the author of the regressor, bug 1371391, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(mfroman)

(In reply to mattieruth from comment #0)

Steps to reproduce:

Hosted a WebRTC call using Beta 142.0b7 and checked the candidate pair stats, specifically looking at currentRoundTripTime. (side note: thank you for implementing these!)

Actual results:

I got a currentRoundTripTime in milliseconds

Expected results:

The times should be reported in terms of seconds, per the spec: https://www.w3.org/TR/webrtc-stats/#candidatepair-dict*

Thank you for the report! I looked right past that unit issue.

Assignee: nobody → mfroman
Severity: -- → S2
Flags: needinfo?(mfroman)
Priority: -- → P2
Status: UNCONFIRMED → NEW
Ever confirmed: true

Set release status flags based on info from the regressing bug 1371391

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54510 for changes under testing/web-platform/tests
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Upstream PR merged by moz-wptsync-bot

The patch landed in nightly and beta is affected.
:mjf, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(mfroman)

I know I'm biased, but I vote for an uplift

Comment on attachment 9508863 [details]
Bug 1981040 - spec says RTCIceCandidatePairStats rtts should be in seconds not ms. r?bwc!

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Candidate pair rtt stats will be incorrect and could affect video quality.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Very simple change to convert milliseconds to seconds.
  • String changes made/needed: n/a
  • Is Android affected?: Yes
Flags: needinfo?(mfroman)
Attachment #9508863 - Flags: approval-mozilla-beta?

Comment on attachment 9508863 [details]
Bug 1981040 - spec says RTCIceCandidatePairStats rtts should be in seconds not ms. r?bwc!

Approved for 143.0b5.

Attachment #9508863 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1986854
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: