)]}'
{
  "commit": "66c2e6ecd8e1feb77825bf36a1de12c7e7f4391d",
  "tree": "cd54e2013416619c104ca5213762d9e799e28118",
  "parents": [
    "c25c6676c6d09bd3161e1cf73d3b362c8875e8d0"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Tue Nov 17 22:46:39 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Nov 18 14:21:19 2026"
  },
  "message": "Deduplicate codecs matched by codec preferences\n\nRtpTransceiver::SetCodecPreferences removes exact duplicates, so a codec\nthat is sent and received at different levels stays listed twice when an\napplication passes both its sender and its receiver capabilities.\nMatchCodecPreference ignores levels when matching preferences against\nsupported codecs, which made both entries resolve to the same codec and\nappend its payload type (and any associated RTX codec) twice. Since\nCodecVendor started finalizing offered and answered codec lists, the\nduplicate payload type fails offer and answer creation.\n\nAdd matched codecs with CodecList::PushIfNotPresent in\nMatchCodecPreference so that each codec and its associated RTX codec\nappear at most once.\n\nFixed: chromium:585451900\nChange-Id: I3354931ad9bfe0faab2418adac453e1088b7103b\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/517180\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Henrik Boström \u003chbos@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#49302}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f0180ddc2a0cc0ad8f9913c3c185b7d3082a64eb",
      "old_mode": 33188,
      "old_path": "pc/codec_vendor.cc",
      "new_id": "941f39e6ea8139dd555ef45daf57a47b86a26826",
      "new_mode": 33188,
      "new_path": "pc/codec_vendor.cc"
    },
    {
      "type": "modify",
      "old_id": "5286998dddc411fc22e6116b78b54ae9b9af80f1",
      "old_mode": 33188,
      "old_path": "pc/peer_connection_media_unittest.cc",
      "new_id": "424b897c26bb8a766f039ecfe892fa5b8929f10e",
      "new_mode": 33188,
      "new_path": "pc/peer_connection_media_unittest.cc"
    }
  ]
}
