summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/call/call_config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/call/call_config.cc')
-rw-r--r--third_party/libwebrtc/call/call_config.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/libwebrtc/call/call_config.cc b/third_party/libwebrtc/call/call_config.cc
index 93f6b1aec4..5832969b9c 100644
--- a/third_party/libwebrtc/call/call_config.cc
+++ b/third_party/libwebrtc/call/call_config.cc
@@ -14,6 +14,14 @@
namespace webrtc {
+CallConfig::CallConfig(const Environment& env,
+ TaskQueueBase* network_task_queue)
+ : env(env),
+ event_log(&env.event_log()),
+ task_queue_factory(&env.task_queue_factory()),
+ trials(&env.field_trials()),
+ network_task_queue_(network_task_queue) {}
+
CallConfig::CallConfig(RtcEventLog* event_log,
TaskQueueBase* network_task_queue /* = nullptr*/)
: event_log(event_log), network_task_queue_(network_task_queue) {
@@ -31,7 +39,6 @@ RtpTransportConfig CallConfig::ExtractTransportConfig() const {
network_state_predictor_factory;
transportConfig.task_queue_factory = task_queue_factory;
transportConfig.trials = trials;
- transportConfig.pacer_burst_interval = pacer_burst_interval;
return transportConfig;
}