| 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 <algorithm> | 10 #include <algorithm> |
| (...skipping 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2138 } | 2138 } |
| 2139 // RTX | 2139 // RTX |
| 2140 if (use_rtx_) { | 2140 if (use_rtx_) { |
| 2141 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); | 2141 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); |
| 2142 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; | 2142 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; |
| 2143 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = | 2143 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = |
| 2144 kSendRtxSsrcs[0]; | 2144 kSendRtxSsrcs[0]; |
| 2145 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = | 2145 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = |
| 2146 kSendRtxPayloadType; | 2146 kSendRtxPayloadType; |
| 2147 } | 2147 } |
| 2148 // RTT needed for RemoteNtpTimeEstimator for the receive stream. |
| 2149 (*receive_configs)[0].rtp.rtcp_xr.receiver_reference_time_report = true; |
| 2148 encoder_config->content_type = | 2150 encoder_config->content_type = |
| 2149 screenshare_ ? VideoEncoderConfig::ContentType::kScreen | 2151 screenshare_ ? VideoEncoderConfig::ContentType::kScreen |
| 2150 : VideoEncoderConfig::ContentType::kRealtimeVideo; | 2152 : VideoEncoderConfig::ContentType::kRealtimeVideo; |
| 2151 } | 2153 } |
| 2152 | 2154 |
| 2153 void OnCallsCreated(Call* sender_call, Call* receiver_call) override { | 2155 void OnCallsCreated(Call* sender_call, Call* receiver_call) override { |
| 2154 sender_call_ = sender_call; | 2156 sender_call_ = sender_call; |
| 2155 receiver_call_ = receiver_call; | 2157 receiver_call_ = receiver_call; |
| 2156 } | 2158 } |
| 2157 | 2159 |
| (...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3525 private: | 3527 private: |
| 3526 bool video_observed_; | 3528 bool video_observed_; |
| 3527 bool audio_observed_; | 3529 bool audio_observed_; |
| 3528 SequenceNumberUnwrapper unwrapper_; | 3530 SequenceNumberUnwrapper unwrapper_; |
| 3529 std::set<int64_t> received_packet_ids_; | 3531 std::set<int64_t> received_packet_ids_; |
| 3530 } test; | 3532 } test; |
| 3531 | 3533 |
| 3532 RunBaseTest(&test); | 3534 RunBaseTest(&test); |
| 3533 } | 3535 } |
| 3534 } // namespace webrtc | 3536 } // namespace webrtc |
| OLD | NEW |