)]}'
{
  "commit": "a208861401a522c60c4e38c869d9e0088d860ec4",
  "tree": "b05ee50c5d3b5b5556501c630bee85fcf57105c6",
  "parents": [
    "4ef563887119a83a7d12c489bcc1a9114aa850b3"
  ],
  "author": {
    "name": "Artem Titov",
    "email": "titovartem@webrtc.org",
    "time": "Wed Feb 03 12:33:28 2021"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Feb 04 12:33:56 2021"
  },
  "message": "Reland \"Fix data race for config_ in AudioSendStream\"\n\nThis is a reland of 51e5c4b0f47926e2586d809e47dc60fe4812b782\n\nIt may happen that user will pass config with min bitrate \u003e max bitrate.\nIn such case we can\u0027t generate cached_constraints and will crash before.\nThe reland will handle this situation gracefully.\n\nOriginal change\u0027s description:\n\u003e Fix data race for config_ in AudioSendStream\n\u003e\n\u003e config_ was written and read on different threads without sync. This CL\n\u003e moves config access on worker_thread_ with all other required fields.\n\u003e It keeps only bitrate allocator accessed from worker_queue_, because\n\u003e it is used from it in other classes and supposed to be single threaded.\n\u003e\n\u003e Bug: None\n\u003e Change-Id: I23ece4dc8b09b41a8c589412bedd36d63b76cbc5\n\u003e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203267\n\u003e Reviewed-by: Danil Chapovalov \u003cdanilchap@webrtc.org\u003e\n\u003e Reviewed-by: Niels Moller \u003cnisse@webrtc.org\u003e\n\u003e Reviewed-by: Per Åhgren \u003cpeah@webrtc.org\u003e\n\u003e Reviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\n\u003e Commit-Queue: Artem Titov \u003ctitovartem@webrtc.org\u003e\n\u003e Cr-Commit-Position: refs/heads/master@{#33125}\n\nBug: None\nChange-Id: I274ff15208d69c25fb25a0f1dd0a0e37b72480b0\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/205523\nReviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\nReviewed-by: Danil Chapovalov \u003cdanilchap@webrtc.org\u003e\nReviewed-by: Niels Moller \u003cnisse@webrtc.org\u003e\nReviewed-by: Per Åhgren \u003cpeah@webrtc.org\u003e\nCommit-Queue: Artem Titov \u003ctitovartem@webrtc.org\u003e\nCr-Commit-Position: refs/heads/master@{#33162}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e21b1f31d0f2fa4696a3e66e0d3e76a8f1594f4",
      "old_mode": 33188,
      "old_path": "audio/audio_send_stream.cc",
      "new_id": "b769569fd51db36d99b3efbd4a1b8320596e5a49",
      "new_mode": 33188,
      "new_path": "audio/audio_send_stream.cc"
    },
    {
      "type": "modify",
      "old_id": "1e6982e41f7b2b2b70f39c0361ce70a38ba749c9",
      "old_mode": 33188,
      "old_path": "audio/audio_send_stream.h",
      "new_id": "113d2593afa098ad9972730d331462c6ef8a0919",
      "new_mode": 33188,
      "new_path": "audio/audio_send_stream.h"
    }
  ]
}
