| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 EnableSendTransportSequenceNumber(kTransportSequenceNumberId)) | 169 EnableSendTransportSequenceNumber(kTransportSequenceNumberId)) |
| 170 .Times(1); | 170 .Times(1); |
| 171 EXPECT_CALL(*channel_proxy_, RegisterSenderCongestionControlObjects( | 171 EXPECT_CALL(*channel_proxy_, RegisterSenderCongestionControlObjects( |
| 172 &fake_transport_, Ne(nullptr))) | 172 &fake_transport_, Ne(nullptr))) |
| 173 .Times(1); | 173 .Times(1); |
| 174 } else { | 174 } else { |
| 175 EXPECT_CALL(*channel_proxy_, RegisterSenderCongestionControlObjects( | 175 EXPECT_CALL(*channel_proxy_, RegisterSenderCongestionControlObjects( |
| 176 &fake_transport_, Eq(nullptr))) | 176 &fake_transport_, Eq(nullptr))) |
| 177 .Times(1); | 177 .Times(1); |
| 178 } | 178 } |
| 179 EXPECT_CALL(*channel_proxy_, ResetCongestionControlObjects()).Times(1); | 179 EXPECT_CALL(*channel_proxy_, ResetSenderCongestionControlObjects()) |
| 180 .Times(1); |
| 180 EXPECT_CALL(*channel_proxy_, RegisterExternalTransport(nullptr)).Times(1); | 181 EXPECT_CALL(*channel_proxy_, RegisterExternalTransport(nullptr)).Times(1); |
| 181 EXPECT_CALL(*channel_proxy_, DeRegisterExternalTransport()).Times(1); | 182 EXPECT_CALL(*channel_proxy_, DeRegisterExternalTransport()).Times(1); |
| 182 EXPECT_CALL(*channel_proxy_, SetRtcEventLog(testing::NotNull())).Times(1); | 183 EXPECT_CALL(*channel_proxy_, SetRtcEventLog(testing::NotNull())).Times(1); |
| 183 EXPECT_CALL(*channel_proxy_, SetRtcEventLog(testing::IsNull())) | 184 EXPECT_CALL(*channel_proxy_, SetRtcEventLog(testing::IsNull())) |
| 184 .Times(1); // Destructor resets the event log | 185 .Times(1); // Destructor resets the event log |
| 185 EXPECT_CALL(*channel_proxy_, SetRtcpRttStats(&rtcp_rtt_stats_)).Times(1); | 186 EXPECT_CALL(*channel_proxy_, SetRtcpRttStats(&rtcp_rtt_stats_)).Times(1); |
| 186 EXPECT_CALL(*channel_proxy_, SetRtcpRttStats(testing::IsNull())) | 187 EXPECT_CALL(*channel_proxy_, SetRtcpRttStats(testing::IsNull())) |
| 187 .Times(1); // Destructor resets the rtt stats. | 188 .Times(1); // Destructor resets the rtt stats. |
| 188 } | 189 } |
| 189 | 190 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 internal::AudioSendStream send_stream( | 479 internal::AudioSendStream send_stream( |
| 479 helper.config(), helper.audio_state(), helper.worker_queue(), | 480 helper.config(), helper.audio_state(), helper.worker_queue(), |
| 480 helper.transport(), helper.bitrate_allocator(), helper.event_log(), | 481 helper.transport(), helper.bitrate_allocator(), helper.event_log(), |
| 481 helper.rtcp_rtt_stats()); | 482 helper.rtcp_rtt_stats()); |
| 482 EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 5000)); | 483 EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 5000)); |
| 483 send_stream.OnBitrateUpdated(50000, 0.0, 50, 5000); | 484 send_stream.OnBitrateUpdated(50000, 0.0, 50, 5000); |
| 484 } | 485 } |
| 485 | 486 |
| 486 } // namespace test | 487 } // namespace test |
| 487 } // namespace webrtc | 488 } // namespace webrtc |
| OLD | NEW |