This will allow for transitioning PacketReceiver callbacks and network related callbacks from being posted over to the worker thread and instead can stay on the network thread along with related state. Bug: webrtc:11993 Change-Id: I38df462d4dee064015c490f2b8f809cb47f23cf1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202039 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33116}
28 lines
835 B
C++
28 lines
835 B
C++
/*
|
|
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "call/call_config.h"
|
|
|
|
#include "rtc_base/checks.h"
|
|
|
|
namespace webrtc {
|
|
|
|
CallConfig::CallConfig(RtcEventLog* event_log,
|
|
TaskQueueBase* network_task_queue /* = nullptr*/)
|
|
: event_log(event_log), network_task_queue_(network_task_queue) {
|
|
RTC_DCHECK(event_log);
|
|
}
|
|
|
|
CallConfig::CallConfig(const CallConfig& config) = default;
|
|
|
|
CallConfig::~CallConfig() = default;
|
|
|
|
} // namespace webrtc
|