Remove locks in SendSideBandwidthEstimation since those are only accessed while owning locks in
BitrateControllerImpl (excluding AvailableBandwidth). + Refactor BitrateController logic around LowRate allocation so access to SendSideBandwidthEstimation is clear. + Refactor NormalRateAllocation away from OnNetworkChange. + Annotate BitrateController locks. R=henrik.lundin@webrtc.org, stefan@webrtc.org BUG=3065 Review URL: https://webrtc-codereview.appspot.com/10129004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5749 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -56,8 +56,6 @@ class SendSideBandwidthEstimation {
|
||||
enum { kLimitNumPackets = 20 };
|
||||
enum { kAvgPacketSizeBytes = 1000 };
|
||||
|
||||
CriticalSectionWrapper* critsect_;
|
||||
|
||||
// incoming filters
|
||||
int accumulate_lost_packets_Q8_;
|
||||
int accumulate_expected_packets_;
|
||||
|
||||
Reference in New Issue
Block a user