| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  198         decoder.payload_type = |  198         decoder.payload_type = | 
|  199             test_->video_send_config_.encoder_settings.payload_type; |  199             test_->video_send_config_.encoder_settings.payload_type; | 
|  200         decoder.payload_name = |  200         decoder.payload_name = | 
|  201             test_->video_send_config_.encoder_settings.payload_name; |  201             test_->video_send_config_.encoder_settings.payload_name; | 
|  202         test_->receive_config_.decoders.clear(); |  202         test_->receive_config_.decoders.clear(); | 
|  203         test_->receive_config_.decoders.push_back(decoder); |  203         test_->receive_config_.decoders.push_back(decoder); | 
|  204         test_->receive_config_.rtp.remote_ssrc = |  204         test_->receive_config_.rtp.remote_ssrc = | 
|  205             test_->video_send_config_.rtp.ssrcs[0]; |  205             test_->video_send_config_.rtp.ssrcs[0]; | 
|  206         test_->receive_config_.rtp.local_ssrc++; |  206         test_->receive_config_.rtp.local_ssrc++; | 
|  207         video_receive_stream_ = test_->receiver_call_->CreateVideoReceiveStream( |  207         video_receive_stream_ = test_->receiver_call_->CreateVideoReceiveStream( | 
|  208             test_->receive_config_); |  208             test_->receive_config_.Copy()); | 
|  209         video_receive_stream_->Start(); |  209         video_receive_stream_->Start(); | 
|  210       } |  210       } | 
|  211       is_sending_receiving_ = true; |  211       is_sending_receiving_ = true; | 
|  212     } |  212     } | 
|  213  |  213  | 
|  214     ~Stream() { |  214     ~Stream() { | 
|  215       EXPECT_FALSE(is_sending_receiving_); |  215       EXPECT_FALSE(is_sending_receiving_); | 
|  216       frame_generator_capturer_.reset(nullptr); |  216       frame_generator_capturer_.reset(nullptr); | 
|  217       test_->sender_call_->DestroyVideoSendStream(send_stream_); |  217       test_->sender_call_->DestroyVideoSendStream(send_stream_); | 
|  218       send_stream_ = nullptr; |  218       send_stream_ = nullptr; | 
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  323       RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); |  323       RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); | 
|  324   receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); |  324   receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); | 
|  325   receiver_log_.PushExpectedLogLine( |  325   receiver_log_.PushExpectedLogLine( | 
|  326       "WrappingBitrateEstimator: Switching to transmission time offset RBE."); |  326       "WrappingBitrateEstimator: Switching to transmission time offset RBE."); | 
|  327   streams_.push_back(new Stream(this, false)); |  327   streams_.push_back(new Stream(this, false)); | 
|  328   streams_[0]->StopSending(); |  328   streams_[0]->StopSending(); | 
|  329   streams_[1]->StopSending(); |  329   streams_[1]->StopSending(); | 
|  330   EXPECT_TRUE(receiver_log_.Wait()); |  330   EXPECT_TRUE(receiver_log_.Wait()); | 
|  331 } |  331 } | 
|  332 }  // namespace webrtc |  332 }  // namespace webrtc | 
| OLD | NEW |