)]}'
{
  "commit": "9297a16140aca937c60501583c321821c99f9790",
  "tree": "2a8a362b7091e92de7a3b811f24a9cf57b85983d",
  "parents": [
    "c17ba2ed3c9e42f5c1fbc92d85b4061d906cd527"
  ],
  "author": {
    "name": "Henrik Boström",
    "email": "hbos@webrtc.org",
    "time": "Fri Oct 10 12:03:24 2025"
  },
  "committer": {
    "name": "WebRTC LUCI CQ",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Oct 10 13:41:32 2025"
  },
  "message": "PixelLimitResource: Add parameter for adaptation reason.\n\nThe \"reason\" for adapting, which can be \"cpu\" or \"quality\" depending on\nwhat the resource is reportedly monitoring, impacts which\nRTCQualityAdaptationReason[1] we report in getStats() where these are\nmapped to \"cpu\" and \"bandwidth\".\n\nFor testing purposes, it\u0027s useful to be able to control if\nPixelLimitResource results in being CPU or BW limited. This CL adds the\nnew field trial enum parameter, \"reason\".\n\nIn addition to unit tests in this CL I have manually verified this gets\ncorrectly plumbed to getStats() by going to\nhttps://henbos.github.io/codec-quality/src/index.html using\n--force-fieldtrials\u003dWebRTC-PixelLimitResource/target_pixels:64800,interval:1s,reason:quality,toggle:10s/\n\n[1] https://w3c.github.io/webrtc-stats/#rtcqualitylimitationreason-enum\n\nBug: webrtc:447037084\nChange-Id: I575e1a984a6e31a997ba43f3565b709465fafea5\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/413160\nCommit-Queue: Henrik Boström \u003chbos@webrtc.org\u003e\nReviewed-by: Ilya Nikolaevskiy \u003cilnik@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#45896}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f36b40698732c3611bfe8945a1f02384bb6ca41c",
      "old_mode": 33188,
      "old_path": "video/adaptation/pixel_limit_resource.cc",
      "new_id": "230391e3ad83882a81ec5795b0078d136e9f2fa9",
      "new_mode": 33188,
      "new_path": "video/adaptation/pixel_limit_resource.cc"
    },
    {
      "type": "modify",
      "old_id": "930f2945da013a81a910add10cb81b935814fa27",
      "old_mode": 33188,
      "old_path": "video/adaptation/pixel_limit_resource.h",
      "new_id": "fe9ab7862098e516cd1a9df325c06f84af34ac42",
      "new_mode": 33188,
      "new_path": "video/adaptation/pixel_limit_resource.h"
    },
    {
      "type": "modify",
      "old_id": "4f6c15d94d332d2b5f365c738c8af4ddf9fa5751",
      "old_mode": 33188,
      "old_path": "video/adaptation/pixel_limit_resource_unittest.cc",
      "new_id": "9f732feedf9f89ec20b32b8b7cccd9c5c0fcf1bf",
      "new_mode": 33188,
      "new_path": "video/adaptation/pixel_limit_resource_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "99ddaf72f5daf27f06c653b47b52680e039fd512",
      "old_mode": 33188,
      "old_path": "video/adaptation/video_stream_encoder_resource_manager.cc",
      "new_id": "4aa0a2db2128d47a21c5a5cec3f0593c1d9b07b6",
      "new_mode": 33188,
      "new_path": "video/adaptation/video_stream_encoder_resource_manager.cc"
    }
  ]
}
