Remove thread checker from CongestionController.
R=terelius@webrtc.org Review URL: https://codereview.webrtc.org/1746683002 . Cr-Commit-Position: refs/heads/master@{#11808}
This commit is contained in:
parent
7352804849
commit
f3ed9d75dd
@ -168,7 +168,6 @@ CongestionController::~CongestionController() {
|
||||
void CongestionController::SetBweBitrates(int min_bitrate_bps,
|
||||
int start_bitrate_bps,
|
||||
int max_bitrate_bps) {
|
||||
RTC_DCHECK(config_thread_checker_.CalledOnValidThread());
|
||||
// TODO(holmer): We should make sure the default bitrates are set to 10 kbps,
|
||||
// and that we don't try to set the min bitrate to 0 from any applications.
|
||||
// The congestion controller should allow a min bitrate of 0.
|
||||
@ -204,7 +203,6 @@ RemoteBitrateEstimator* CongestionController::GetRemoteBitrateEstimator(
|
||||
|
||||
TransportFeedbackObserver*
|
||||
CongestionController::GetTransportFeedbackObserver() {
|
||||
RTC_DCHECK(config_thread_checker_.CalledOnValidThread());
|
||||
return &transport_feedback_adapter_;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
#define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
|
||||
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/base/thread_checker.h"
|
||||
#include "webrtc/modules/include/module.h"
|
||||
#include "webrtc/modules/include/module_common_types.h"
|
||||
#include "webrtc/modules/pacing/packet_router.h"
|
||||
@ -69,7 +68,6 @@ class CongestionController : public CallStatsObserver, public Module {
|
||||
|
||||
private:
|
||||
Clock* const clock_;
|
||||
rtc::ThreadChecker config_thread_checker_;
|
||||
const rtc::scoped_ptr<PacedSender> pacer_;
|
||||
const rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
|
||||
const rtc::scoped_ptr<BitrateController> bitrate_controller_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user