| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <functional> | 10 #include <functional> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 decoder.decoder = &fake_decoder_; | 201 decoder.decoder = &fake_decoder_; |
| 202 decoder.payload_type = | 202 decoder.payload_type = |
| 203 test_->video_send_config_.encoder_settings.payload_type; | 203 test_->video_send_config_.encoder_settings.payload_type; |
| 204 decoder.payload_name = | 204 decoder.payload_name = |
| 205 test_->video_send_config_.encoder_settings.payload_name; | 205 test_->video_send_config_.encoder_settings.payload_name; |
| 206 test_->receive_config_.decoders.clear(); | 206 test_->receive_config_.decoders.clear(); |
| 207 test_->receive_config_.decoders.push_back(decoder); | 207 test_->receive_config_.decoders.push_back(decoder); |
| 208 test_->receive_config_.rtp.remote_ssrc = | 208 test_->receive_config_.rtp.remote_ssrc = |
| 209 test_->video_send_config_.rtp.ssrcs[0]; | 209 test_->video_send_config_.rtp.ssrcs[0]; |
| 210 test_->receive_config_.rtp.local_ssrc++; | 210 test_->receive_config_.rtp.local_ssrc++; |
| 211 test_->receive_config_.renderer = &test->fake_renderer_; |
| 211 video_receive_stream_ = test_->receiver_call_->CreateVideoReceiveStream( | 212 video_receive_stream_ = test_->receiver_call_->CreateVideoReceiveStream( |
| 212 test_->receive_config_.Copy()); | 213 test_->receive_config_.Copy()); |
| 213 video_receive_stream_->Start(); | 214 video_receive_stream_->Start(); |
| 214 } | 215 } |
| 215 is_sending_receiving_ = true; | 216 is_sending_receiving_ = true; |
| 216 } | 217 } |
| 217 | 218 |
| 218 ~Stream() { | 219 ~Stream() { |
| 219 EXPECT_FALSE(is_sending_receiving_); | 220 EXPECT_FALSE(is_sending_receiving_); |
| 220 test_->sender_call_->DestroyVideoSendStream(send_stream_); | 221 test_->sender_call_->DestroyVideoSendStream(send_stream_); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); | 325 RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); |
| 325 receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); | 326 receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); |
| 326 receiver_log_.PushExpectedLogLine( | 327 receiver_log_.PushExpectedLogLine( |
| 327 "WrappingBitrateEstimator: Switching to transmission time offset RBE."); | 328 "WrappingBitrateEstimator: Switching to transmission time offset RBE."); |
| 328 streams_.push_back(new Stream(this, false)); | 329 streams_.push_back(new Stream(this, false)); |
| 329 streams_[0]->StopSending(); | 330 streams_[0]->StopSending(); |
| 330 streams_[1]->StopSending(); | 331 streams_[1]->StopSending(); |
| 331 EXPECT_TRUE(receiver_log_.Wait()); | 332 EXPECT_TRUE(receiver_log_.Wait()); |
| 332 } | 333 } |
| 333 } // namespace webrtc | 334 } // namespace webrtc |
| OLD | NEW |