| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "webrtc/pc/channelmanager.h" | 11 #include "webrtc/pc/channelmanager.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 | 14 |
| 15 #include "webrtc/api/mediacontroller.h" | |
| 16 #include "webrtc/base/bind.h" | 15 #include "webrtc/base/bind.h" |
| 17 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
| 18 #include "webrtc/base/common.h" | 17 #include "webrtc/base/common.h" |
| 19 #include "webrtc/base/logging.h" | 18 #include "webrtc/base/logging.h" |
| 20 #include "webrtc/base/stringencode.h" | 19 #include "webrtc/base/stringencode.h" |
| 21 #include "webrtc/base/stringutils.h" | 20 #include "webrtc/base/stringutils.h" |
| 22 #include "webrtc/base/trace_event.h" | 21 #include "webrtc/base/trace_event.h" |
| 23 #include "webrtc/media/base/device.h" | 22 #include "webrtc/media/base/device.h" |
| 24 #include "webrtc/media/base/rtpdataengine.h" | 23 #include "webrtc/media/base/rtpdataengine.h" |
| 25 #include "webrtc/pc/srtpfilter.h" | 24 #include "webrtc/pc/srtpfilter.h" |
| 25 #include "webrtc/pc/mediacontroller.h" |
| 26 | 26 |
| 27 namespace cricket { | 27 namespace cricket { |
| 28 | 28 |
| 29 | 29 |
| 30 using rtc::Bind; | 30 using rtc::Bind; |
| 31 | 31 |
| 32 static DataEngineInterface* ConstructDataEngine() { | 32 static DataEngineInterface* ConstructDataEngine() { |
| 33 return new RtpDataEngine(); | 33 return new RtpDataEngine(); |
| 34 } | 34 } |
| 35 | 35 |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 media_engine_.get(), file, max_size_bytes)); | 429 media_engine_.get(), file, max_size_bytes)); |
| 430 } | 430 } |
| 431 | 431 |
| 432 void ChannelManager::StopAecDump() { | 432 void ChannelManager::StopAecDump() { |
| 433 worker_thread_->Invoke<void>( | 433 worker_thread_->Invoke<void>( |
| 434 RTC_FROM_HERE, | 434 RTC_FROM_HERE, |
| 435 Bind(&MediaEngineInterface::StopAecDump, media_engine_.get())); | 435 Bind(&MediaEngineInterface::StopAecDump, media_engine_.get())); |
| 436 } | 436 } |
| 437 | 437 |
| 438 } // namespace cricket | 438 } // namespace cricket |
| OLD | NEW |