| 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 #include <stdio.h> | 10 #include <stdio.h> |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 | 820 |
| 821 video_encoder_config_.min_transmit_bitrate_bps = | 821 video_encoder_config_.min_transmit_bitrate_bps = |
| 822 params_.common.min_transmit_bps; | 822 params_.common.min_transmit_bps; |
| 823 video_encoder_config_.streams = params_.ss.streams; | 823 video_encoder_config_.streams = params_.ss.streams; |
| 824 video_encoder_config_.spatial_layers = params_.ss.spatial_layers; | 824 video_encoder_config_.spatial_layers = params_.ss.spatial_layers; |
| 825 | 825 |
| 826 CreateMatchingReceiveConfigs(recv_transport); | 826 CreateMatchingReceiveConfigs(recv_transport); |
| 827 | 827 |
| 828 for (size_t i = 0; i < num_streams; ++i) { | 828 for (size_t i = 0; i < num_streams; ++i) { |
| 829 video_receive_configs_[i].rtp.nack.rtp_history_ms = kNackRtpHistoryMs; | 829 video_receive_configs_[i].rtp.nack.rtp_history_ms = kNackRtpHistoryMs; |
| 830 video_receive_configs_[i].rtp.rtx[kSendRtxPayloadType].ssrc = | 830 video_receive_configs_[i].rtp.rtx[payload_type].ssrc = kSendRtxSsrcs[i]; |
| 831 kSendRtxSsrcs[i]; | 831 video_receive_configs_[i].rtp.rtx[payload_type].payload_type = |
| 832 video_receive_configs_[i].rtp.rtx[kSendRtxPayloadType].payload_type = | |
| 833 kSendRtxPayloadType; | 832 kSendRtxPayloadType; |
| 834 video_receive_configs_[i].rtp.transport_cc = params_.common.send_side_bwe; | 833 video_receive_configs_[i].rtp.transport_cc = params_.common.send_side_bwe; |
| 835 } | 834 } |
| 836 } | 835 } |
| 837 | 836 |
| 838 void VideoQualityTest::SetupScreenshare() { | 837 void VideoQualityTest::SetupScreenshare() { |
| 839 RTC_CHECK(params_.screenshare.enabled); | 838 RTC_CHECK(params_.screenshare.enabled); |
| 840 | 839 |
| 841 // Fill out codec settings. | 840 // Fill out codec settings. |
| 842 video_encoder_config_.content_type = VideoEncoderConfig::ContentType::kScreen; | 841 video_encoder_config_.content_type = VideoEncoderConfig::ContentType::kScreen; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 video_send_stream_->Stop(); | 1069 video_send_stream_->Stop(); |
| 1071 receive_stream->Stop(); | 1070 receive_stream->Stop(); |
| 1072 | 1071 |
| 1073 call->DestroyVideoReceiveStream(receive_stream); | 1072 call->DestroyVideoReceiveStream(receive_stream); |
| 1074 call->DestroyVideoSendStream(video_send_stream_); | 1073 call->DestroyVideoSendStream(video_send_stream_); |
| 1075 | 1074 |
| 1076 transport.StopSending(); | 1075 transport.StopSending(); |
| 1077 } | 1076 } |
| 1078 | 1077 |
| 1079 } // namespace webrtc | 1078 } // namespace webrtc |
| OLD | NEW |