Remove process thread checker from BWE.

R=pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1898723002 .

Cr-Commit-Position: refs/heads/master@{#12408}
This commit is contained in:
Stefan Holmer 2016-04-18 15:06:03 +02:00
parent 06176e49e2
commit 54728bab25
2 changed files with 0 additions and 3 deletions

View File

@ -92,7 +92,6 @@ bool RemoteBitrateEstimatorAbsSendTime::IsWithinClusterBounds(
RTC_DCHECK(observer_);
LOG(LS_INFO) << "RemoteBitrateEstimatorAbsSendTime: Instantiating.";
network_thread_.DetachFromThread();
process_thread_.DetachFromThread();
}
void RemoteBitrateEstimatorAbsSendTime::ComputeClusters(
@ -359,7 +358,6 @@ void RemoteBitrateEstimatorAbsSendTime::TimeoutStreams(int64_t now_ms) {
void RemoteBitrateEstimatorAbsSendTime::OnRttUpdate(int64_t avg_rtt_ms,
int64_t max_rtt_ms) {
RTC_DCHECK(process_thread_.CalledOnValidThread());
rtc::CritScope lock(&crit_);
remote_rate_.SetRtt(avg_rtt_ms);
}

View File

@ -130,7 +130,6 @@ class RemoteBitrateEstimatorAbsSendTime : public RemoteBitrateEstimator {
int64_t first_packet_time_ms_;
int64_t last_update_ms_;
rtc::ThreadChecker process_thread_;
rtc::CriticalSection crit_;
Ssrcs ssrcs_ GUARDED_BY(&crit_);
AimdRateControl remote_rate_ GUARDED_BY(&crit_);