Closed Bug 1800136 Opened 2 years ago Closed 2 years ago

RTCRtpSender.getStats() does not get any ICE stats

Categories

(Core :: WebRTC: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: bwc, Assigned: bwc)

References

Details

Attachments

(4 files)

Just noticed this while looking at code. RTCRtpReceiver has this code block:

https://searchfox.org/mozilla-central/rev/dd216c1307a2bf1b0d2465b9749fa86dac44303a/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp#517-521

But RTCRtpSender does not have anything comparable! This is pretty broken. I'm kinda shocked we have not seen a bug report for this.

P3/S3 since there's an easy workaround (RTCPeerConnection::GetStats), but still.

Assignee: nobody → docfaraday

Depends on D162321

Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e09b3e06b10
Test-cases for ICE candidate stats. r=jib
https://hg.mozilla.org/integration/autoland/rev/d2ace48b830c
Add tests for duplicate stats ids in WebrtcGlobalInformation. r=ng
https://hg.mozilla.org/integration/autoland/rev/3621f5bf1cb0
Make RTCRtpSender::GetStats get ICE stats. r=ng
https://hg.mozilla.org/integration/autoland/rev/fb1a765ec213
Fix gap between PC.close() and the storage of its final stats in PeerConnectionCtx. r=ng
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37612 for changes under testing/web-platform/tests
Regressions: 1806746
Upstream PR was closed without merging

Backed out because a subsequent tooling push was unhappy with the new code? Of all the bad luck...

Flags: needinfo?(docfaraday)
Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a80074bc3200
Test-cases for ICE candidate stats. r=jib
https://hg.mozilla.org/integration/autoland/rev/5801060dd3d0
Add tests for duplicate stats ids in WebrtcGlobalInformation. r=ng
https://hg.mozilla.org/integration/autoland/rev/99ea4f221834
Make RTCRtpSender::GetStats get ICE stats. r=ng
https://hg.mozilla.org/integration/autoland/rev/fe152aff2a22
Fix gap between PC.close() and the storage of its final stats in PeerConnectionCtx. r=ng

Backed out for causing build bustages

Flags: needinfo?(docfaraday)
Upstream PR was closed without merging
Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a10a84084cc3
Test-cases for ICE candidate stats. r=jib
https://hg.mozilla.org/integration/autoland/rev/ab6eb1cfa9a0
Add tests for duplicate stats ids in WebrtcGlobalInformation. r=ng
https://hg.mozilla.org/integration/autoland/rev/fef019ffca5f
Make RTCRtpSender::GetStats get ICE stats. r=ng
https://hg.mozilla.org/integration/autoland/rev/3cbde68f2f7d
Fix gap between PC.close() and the storage of its final stats in PeerConnectionCtx. r=ng
Flags: needinfo?(docfaraday)
Upstream PR was closed without merging
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: