WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
312471
RTCInboundRtpStreamStats.trackIdentifier doesn't match MediaStreamTrack.id
https://bugs.webkit.org/show_bug.cgi?id=312471
Summary
RTCInboundRtpStreamStats.trackIdentifier doesn't match MediaStreamTrack.id
Maria Ivanova
Reported
2026-04-16 07:03:14 PDT
Per the W3C WebRTC Stats spec (
https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-trackidentifier
): ▎ trackIdentifier is the id attribute of the track object associated with this RTP stream. In Safari stable (Version 26.4), RTCInboundRtpStreamStats.trackIdentifier returned from RTCPeerConnection.getStats() correctly matches MediaStreamTrack.id from RTCRtpReceiver.track. In Safari Technology Preview (Release 241 (WebKit 21625.1.12)), these values diverge - trackIdentifier returns a different UUID than the one assigned to the corresponding MediaStreamTrack. Steps to reproduce: 1. Open
https://jsfiddle.net/masha241/4kpx3zrh/1/
2. Click Start to establish a loopback peer connection 3. Click Check Stats to compare receiver.track.id with the trackIdentifier field from the inbound-rtp stats report Expected: Both values are the same string Actual (Safari Technology Preview): trackIdentifier is a different UUID than MediaStreamTrack.id Impact: Any application that correlates per-track WebRTC stats with MediaStreamTrack objects using this field (as the spec intends) will fail to match them
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-16 11:35:14 PDT
<
rdar://problem/174938984
>
youenn fablet
Comment 2
2026-04-17 01:55:25 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62961
EWS
Comment 3
2026-04-17 08:39:47 PDT
Committed
311455@main
(5f7fdedf0823): <
https://commits.webkit.org/311455@main
> Reviewed commits have been landed. Closing PR #62961 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug