This reverts commit af721b72cc1bdc5d945629ad78fbea701b6f82b9. Reason for revert: <INSERT REASONING HERE> Original change's description: > Remove sent framerate and bitrate calculations from MediaOptimization. > > Add RateTracker for sent framerate and bitrate in SendStatisticsProxy. > > Store sent frame info in map to solve potential issue where sent framerate statistics could be > incorrect. > > Bug: webrtc:8375 > Change-Id: I4a6e3956013438a711b8c2e73a8cd90c52dd1210 > Reviewed-on: https://webrtc-review.googlesource.com/7880 > Reviewed-by: Erik Språng <sprang@webrtc.org> > Commit-Queue: Åsa Persson <asapersson@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#20225} TBR=asapersson@webrtc.org,sprang@webrtc.org Change-Id: Ic914f03ff7065ac410ae06b6f82b56a935399b66 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:8375 Reviewed-on: https://webrtc-review.googlesource.com/8480 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20248}