Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f7fdedf0823cf3542b2ca069cf6b3b1cf745fe6
      
https://github.com/WebKit/WebKit/commit/5f7fdedf0823cf3542b2ca069cf6b3b1cf745fe6
  Author: Youenn Fablet <[email protected]>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M LayoutTests/webrtc/video-stats.html
    M Source/WebCore/Modules/mediastream/RTCStatsReport.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp
    M 
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
    M 
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.h

  Log Message:
  -----------
  RTCInboundRtpStreamStats.trackIdentifier doesn't match MediaStreamTrack.id
https://bugs.webkit.org/show_bug.cgi?id=312471
rdar://174938984

Reviewed by Eric Carlson.

Now that rtc remote track Ids are not matching MediaStreamTrack ids, we need to 
keep a map to convert rtc Ids to track Ids in the stats.
We store the map in LibWebRTCPeerConnectionBackend and provide it to 
LibWebRTCStatsCollector.

Covered by updated test.

Canonical link: https://commits.webkit.org/311455@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to