)]}'
{
  "commit": "846e6b5d4903839e4c7df2aa8f539e6a7444a03e",
  "tree": "8dda69333ccca85ff89c2960f51510b1320217bb",
  "parents": [
    "8db354092d9da13dbb4f22fd5bea402cc7a3e759"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Mon Apr 20 14:32:59 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Apr 20 15:46:08 2026"
  },
  "message": "Avoid blocking calls during simulcast transceiver creation\n\nPreviously, initializing simulcast transceivers required synchronous\ncalls to the worker thread to update encoding parameters after the\nsender was created. This resulted in unnecessary BlockingCalls during\nthe SDP negotiation process.\n\nThis change refactors the creation pipeline for RtpTransceivers and\nVideoRtpSenders to accept initial simulcast state—including layer status\nand rejection flags—at construction. By determining the correct initial\nencodings via CalculateInitialEncodings during initialization, the\nsender starts in the correct state.\n\nConsequently, the negotiation logic in sdp_offer_answer.cc no longer\nneeds to perform follow-up worker thread calls for newly created\ntransceivers. This improves performance by reducing thread\nsynchronization overhead during peer connection setup.\n\nBug: webrtc:42222804\nChange-Id: I13407e9f800e2fe889a7f429782e62f7619f3637\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/463761\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Per Kjellander \u003cperkj@webrtc.org\u003e\nReviewed-by: Erik Språng \u003csprang@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#47484}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "45bb72630961f14ff752a46e339926abf61d9743",
      "old_mode": 33188,
      "old_path": "pc/BUILD.gn",
      "new_id": "41d66c3f201b54867bac007cbd5f354828234c96",
      "new_mode": 33188,
      "new_path": "pc/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "df4e54ac8e14480bbddb94ff3648cf01f79010a9",
      "old_mode": 33188,
      "old_path": "pc/peer_connection.cc",
      "new_id": "a3bc7773a6e7f5bb141ce93e0c67ccfb4bc0d453",
      "new_mode": 33188,
      "new_path": "pc/peer_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "ca1400b3f9282013e764d6673d34d63c4e2270ed",
      "old_mode": 33188,
      "old_path": "pc/rtp_sender.cc",
      "new_id": "2a03b20cc77c1cafb5024a346a973602c037a673",
      "new_mode": 33188,
      "new_path": "pc/rtp_sender.cc"
    },
    {
      "type": "modify",
      "old_id": "a38b91e51b3d0de7606bb9b61e2963142fb41beb",
      "old_mode": 33188,
      "old_path": "pc/rtp_sender.h",
      "new_id": "60b3ce0c7165509e2326a2a6379a6d12f40be253",
      "new_mode": 33188,
      "new_path": "pc/rtp_sender.h"
    },
    {
      "type": "modify",
      "old_id": "6598701cad4a8e2308159d2bda2785e86d4484b0",
      "old_mode": 33188,
      "old_path": "pc/rtp_sender_receiver_unittest.cc",
      "new_id": "b44a550860baf5b01972ee6dc8ca546534c2804a",
      "new_mode": 33188,
      "new_path": "pc/rtp_sender_receiver_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "fe47e3adecbb708ee4d0bfe5feeac1b1b26ba6af",
      "old_mode": 33188,
      "old_path": "pc/rtp_transceiver.cc",
      "new_id": "69520ab04d8e1525c96bb50b7c67d1c04de49738",
      "new_mode": 33188,
      "new_path": "pc/rtp_transceiver.cc"
    },
    {
      "type": "modify",
      "old_id": "e5ace43bdf0cadb325c83e32700354afb33a492f",
      "old_mode": 33188,
      "old_path": "pc/rtp_transceiver.h",
      "new_id": "5386205e5948529d1d61b5e70bf5faf68f9f6645",
      "new_mode": 33188,
      "new_path": "pc/rtp_transceiver.h"
    },
    {
      "type": "modify",
      "old_id": "a7abb5bcac3a53290b53242c4ffd7a7f4b95cf65",
      "old_mode": 33188,
      "old_path": "pc/rtp_transceiver_unittest.cc",
      "new_id": "8575a3ea7b5a756331adf3721209c63f6d833ebe",
      "new_mode": 33188,
      "new_path": "pc/rtp_transceiver_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "b67a3fe9e7acfa13908ec1319540891dade69416",
      "old_mode": 33188,
      "old_path": "pc/rtp_transmission_manager.cc",
      "new_id": "64f1a071406c56978ce5500f6b35b4b65f5ff459",
      "new_mode": 33188,
      "new_path": "pc/rtp_transmission_manager.cc"
    },
    {
      "type": "modify",
      "old_id": "cd2d914ce5dd86a94e098183fe16e3a019a9e064",
      "old_mode": 33188,
      "old_path": "pc/rtp_transmission_manager.h",
      "new_id": "6238d35ef597ffbbcbe4142f5b77343b4d00bbd7",
      "new_mode": 33188,
      "new_path": "pc/rtp_transmission_manager.h"
    },
    {
      "type": "modify",
      "old_id": "2505c3983917d22766f6b96fc56245e1d3f97977",
      "old_mode": 33188,
      "old_path": "pc/sdp_offer_answer.cc",
      "new_id": "108f10200969612ad4cc48e8e01654c1c639bc8d",
      "new_mode": 33188,
      "new_path": "pc/sdp_offer_answer.cc"
    }
  ]
}
