OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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/media/engine/fakewebrtccall.h" | 11 #include "webrtc/media/engine/fakewebrtccall.h" |
12 | 12 |
13 #include <algorithm> | 13 #include <algorithm> |
14 #include <utility> | 14 #include <utility> |
15 | 15 |
16 #include "webrtc/audio_sink.h" | 16 #include "webrtc/audio/audio_sink.h" |
17 #include "webrtc/base/checks.h" | 17 #include "webrtc/base/checks.h" |
18 #include "webrtc/base/gunit.h" | 18 #include "webrtc/base/gunit.h" |
19 #include "webrtc/media/base/rtputils.h" | 19 #include "webrtc/media/base/rtputils.h" |
20 | 20 |
21 namespace cricket { | 21 namespace cricket { |
22 FakeAudioSendStream::FakeAudioSendStream( | 22 FakeAudioSendStream::FakeAudioSendStream( |
23 const webrtc::AudioSendStream::Config& config) : config_(config) { | 23 const webrtc::AudioSendStream::Config& config) : config_(config) { |
24 RTC_DCHECK(config.voe_channel_id != -1); | 24 RTC_DCHECK(config.voe_channel_id != -1); |
25 } | 25 } |
26 | 26 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 } | 417 } |
418 | 418 |
419 void FakeCall::SignalNetworkState(webrtc::NetworkState state) { | 419 void FakeCall::SignalNetworkState(webrtc::NetworkState state) { |
420 network_state_ = state; | 420 network_state_ = state; |
421 } | 421 } |
422 | 422 |
423 void FakeCall::OnSentPacket(const rtc::SentPacket& sent_packet) { | 423 void FakeCall::OnSentPacket(const rtc::SentPacket& sent_packet) { |
424 last_sent_packet_ = sent_packet; | 424 last_sent_packet_ = sent_packet; |
425 } | 425 } |
426 } // namespace cricket | 426 } // namespace cricket |
OLD | NEW |