Closed Bug 1745707 Opened 3 years ago Closed 3 years ago

RTCRtpReceiver Stats IDs should be opaque

Categories

(Core :: WebRTC, defect, P2)

defect

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

Details

Attachments

(3 files)

Bug 1602739 made stats ids opaque for RTCPeerConnection's getStats(). However, RTCRtpReceiver's getStats() provide predictable ids still.

+++ This bug was initially created as a clone of Bug #1602739 +++

Stats IDs should not be predictable, which they are in their current state. We should change this to avoid web compat issues.

Assignee: nobody → apehrson
Blocks: 1225722
Status: NEW → ASSIGNED

As the id generator is already a shared resource, this seems like a natural fit.

Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/927203d412ab Test for opaque id in receiver getStats. r=ng https://hg.mozilla.org/integration/autoland/rev/74b13a5823f4 Put id-rewriting into the id generator. r=ng https://hg.mozilla.org/integration/autoland/rev/96ddca9a7a90 Rewrite ids in the RTCRtpReceiver::GetStats() path. r=ng
Severity: -- → S2
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: