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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 remote_base_->Release(); | 101 remote_base_->Release(); |
102 | 102 |
103 local_rtp_rtcp_->Release(); | 103 local_rtp_rtcp_->Release(); |
104 local_network_->Release(); | 104 local_network_->Release(); |
105 local_base_->Release(); | 105 local_base_->Release(); |
106 | 106 |
107 EXPECT_TRUE(webrtc::VoiceEngine::Delete(remote_voe_)); | 107 EXPECT_TRUE(webrtc::VoiceEngine::Delete(remote_voe_)); |
108 EXPECT_TRUE(webrtc::VoiceEngine::Delete(local_voe_)); | 108 EXPECT_TRUE(webrtc::VoiceEngine::Delete(local_voe_)); |
109 } | 109 } |
110 | 110 |
111 bool ConferenceTransport::SendRtp(const uint8_t* data, size_t len) { | 111 bool ConferenceTransport::SendRtp(const uint8_t* data, |
| 112 size_t len, |
| 113 const webrtc::PacketOptions& options) { |
112 StorePacket(Packet::Rtp, data, len); | 114 StorePacket(Packet::Rtp, data, len); |
113 return true; | 115 return true; |
114 } | 116 } |
115 | 117 |
116 bool ConferenceTransport::SendRtcp(const uint8_t* data, size_t len) { | 118 bool ConferenceTransport::SendRtcp(const uint8_t* data, size_t len) { |
117 StorePacket(Packet::Rtcp, data, len); | 119 StorePacket(Packet::Rtcp, data, len); |
118 return true; | 120 return true; |
119 } | 121 } |
120 | 122 |
121 int ConferenceTransport::GetReceiverChannelForSsrc(unsigned int sender_ssrc) | 123 int ConferenceTransport::GetReceiverChannelForSsrc(unsigned int sender_ssrc) |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 bool ConferenceTransport::GetReceiverStatistics(unsigned int id, | 281 bool ConferenceTransport::GetReceiverStatistics(unsigned int id, |
280 webrtc::CallStatistics* stats) { | 282 webrtc::CallStatistics* stats) { |
281 int dst = GetReceiverChannelForSsrc(id); | 283 int dst = GetReceiverChannelForSsrc(id); |
282 if (dst == -1) { | 284 if (dst == -1) { |
283 return false; | 285 return false; |
284 } | 286 } |
285 EXPECT_EQ(0, local_rtp_rtcp_->GetRTCPStatistics(dst, *stats)); | 287 EXPECT_EQ(0, local_rtp_rtcp_->GetRTCPStatistics(dst, *stats)); |
286 return true; | 288 return true; |
287 } | 289 } |
288 } // namespace voetest | 290 } // namespace voetest |
OLD | NEW |