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 |
(...skipping 18 matching lines...) Expand all Loading... |
29 void FakeAudioSendStream::Reconfigure( | 29 void FakeAudioSendStream::Reconfigure( |
30 const webrtc::AudioSendStream::Config& config) { | 30 const webrtc::AudioSendStream::Config& config) { |
31 config_ = config; | 31 config_ = config; |
32 } | 32 } |
33 | 33 |
34 const webrtc::AudioSendStream::Config& | 34 const webrtc::AudioSendStream::Config& |
35 FakeAudioSendStream::GetConfig() const { | 35 FakeAudioSendStream::GetConfig() const { |
36 return config_; | 36 return config_; |
37 } | 37 } |
38 | 38 |
| 39 webrtc::RtpState FakeAudioSendStream::GetRtpState() const { |
| 40 return webrtc::RtpState(); |
| 41 } |
| 42 |
| 43 const webrtc::TimeInterval& FakeAudioSendStream::GetActiveLifetime() const { |
| 44 static webrtc::TimeInterval fake_time_interval; |
| 45 return fake_time_interval; |
| 46 } |
| 47 |
39 void FakeAudioSendStream::SetStats( | 48 void FakeAudioSendStream::SetStats( |
40 const webrtc::AudioSendStream::Stats& stats) { | 49 const webrtc::AudioSendStream::Stats& stats) { |
41 stats_ = stats; | 50 stats_ = stats; |
42 } | 51 } |
43 | 52 |
44 FakeAudioSendStream::TelephoneEvent | 53 FakeAudioSendStream::TelephoneEvent |
45 FakeAudioSendStream::GetLatestTelephoneEvent() const { | 54 FakeAudioSendStream::GetLatestTelephoneEvent() const { |
46 return latest_telephone_event_; | 55 return latest_telephone_event_; |
47 } | 56 } |
48 | 57 |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 } | 640 } |
632 | 641 |
633 void FakeCall::OnSentPacket(const rtc::SentPacket& sent_packet) { | 642 void FakeCall::OnSentPacket(const rtc::SentPacket& sent_packet) { |
634 last_sent_packet_ = sent_packet; | 643 last_sent_packet_ = sent_packet; |
635 if (sent_packet.packet_id >= 0) { | 644 if (sent_packet.packet_id >= 0) { |
636 last_sent_nonnegative_packet_id_ = sent_packet.packet_id; | 645 last_sent_nonnegative_packet_id_ = sent_packet.packet_id; |
637 } | 646 } |
638 } | 647 } |
639 | 648 |
640 } // namespace cricket | 649 } // namespace cricket |
OLD | NEW |